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

Postby RAMESHBABU » Sat Oct 13, 2007 11:50 am

Mr.Antinio

Done.

Thanks

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby Antonio Linares » Sat Oct 13, 2007 12:01 pm

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
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby RAMESHBABU » Sat Oct 13, 2007 12:41 pm

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  Expand view
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
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby Antonio Linares » Sat Oct 13, 2007 3:38 pm

Ramesh,

It should be compatible.

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Sat Oct 13, 2007 4:03 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby RAMESHBABU » Sun Oct 14, 2007 2:24 am

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
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests