How to save the Wndcopy()'s Clipboard's output to a BMP ?

User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

Mr.Antinio

Done.

Thanks

- Ramesh Babu P
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ramesh,

The files are the same as Enrico said.

I am going to email you the EXE. Please run it and lets see if the problem comes from the EXE or from Windows.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

Mr. Antonio

Thanks to you for the TEST.EXE and Mr.Enrico for his attention.

As you have suspected, the EXE did not work on WIN98 (SE) and generated savedbmp.bmp with 14 bytes. When I tested the same
EXE in WINXP Professional, it has created the savedbmp correctly.

The following is log recorded in both OSs:

Code: Select all

Windows 98 [Version 4.10.2222]

 Volume in drive C is RAMESHBABU 
 Volume Serial Number is 4255-1DD5
 Directory of C:\

SAVEDBMP BMP            14  10-13-07  5:52p SavedBmp.Bmp
         1 file(s)             14 bytes
         0 dir(s)          421.06 MB free

****

Microsoft Windows XP [Version 5.1.2600]

 Volume in drive C is RAMESHBABU
 Volume Serial Number is 4255-1DD5

 Directory of C:\

13/10/2007  17:57           630,074 SavedBmp.Bmp
               1 File(s)        630,074 bytes
               0 Dir(s)     487,456,768 bytes free

Is Dibwrite(..) is not compatiable with WIN98 ?

Thanks to you both

- Ramesh Babu P
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ramesh,

It should be compatible.

Anyhow, we are going to make some tests
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Ramesh,

>Is Dibwrite(..) is not compatiable with WIN98?

OK, now back in the begining of this thread you said it worked in previous versions of FWH. Are you sure, or were you actually running it on XP with a previous version of FWH, and on Win98 with a later version of FWH?

Try comparing the previous version of the dib.c file with the latest one you have. Are they the same? If so, then perhaps it never worked under Win98. Can you test and older version of your application EXE running on Win98 to see it is working?

James
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

Mr.Antonio and Mr.James

Thanks for your attension.

Mr.James

I will check it with my previous versions of FWH and let you know.

- Ramesh Babu P
Post Reply