dim r as long
r = StretchBlt(pictureBox_Dest.hdc, 0, 0, 100, 100, pictureBox_Src.hdc, 0, 0, 500, 500, vbSrcCopy)
r = 1 (success) on WinXP
r = 0 (fail) on Win98
plz help
Printable View
dim r as long
r = StretchBlt(pictureBox_Dest.hdc, 0, 0, 100, 100, pictureBox_Src.hdc, 0, 0, 500, 500, vbSrcCopy)
r = 1 (success) on WinXP
r = 0 (fail) on Win98
plz help
What is the error # from the API call?
dim r as long
r = StretchBlt(pictureBox_Dest.hdc, 0, 0, 100, 100, pictureBox_Src.hdc, 0, 0, 500, 500, vbSrcCopy)
If r = 0 Then Debug.Print Err.LastDLLError
Post the LastDLLError value.
r = 0
the Err object is empty:
Err.LastDLLError = 0
Err.Description = ""
should Err object work on Win98?