Azrael
-
11 avril 2001 à 15:21
cs_EBArtSoft
Messages postés4525Date d'inscriptiondimanche 29 septembre 2002StatutModérateurDernière intervention22 avril 2019
-
7 août 2007 à 10:57
Quelqu'un saurait-il comment fonctionne la fonction Bitblt de GDI32.dll sous Windows 2000 ?
Cet appel de fonction fonctionne correctement sous win95/98 mais win 2000 renvoi l'erreur "RunTime error 6","Overflow"
dans le module :
Declare Function BitBlt& Lib "GDI32" (ByVal hDestDC As Integer, ByVal X As Integer, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long)
dans le form :
i = BitBlt(Picture1.hDC, 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight - 1, Picture1.hDC, 0, 1, SRCCOPY)
...