>>>nWhand = GetDesktopWindow()
>>>? nWhand
>>>
>>>These shouldn't matter, but let's try anyway...
>>nwhand=128
>>seems to be correct No ?
>
>Yes, for Win95, that's what I aways get. However, it's different for other OS, such as NT, so you can't rely on it. Anyway, all your parts are working correctly, so the entire thing should work too.
>
>Try putting 128 where GetDesktopWindow() is in PrintWindow(), see if that works now. If so, put GetDesktopWindow() there. Maybe the explicit DLL change fixed the problem...
Sorry to answer so late but i was out of my job for some days..
When i try to put 128 in PrintWindow, i got the same error...
Thank's for your help
Michel
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement