jbmoke
Mar 9th, 2000, 01:01 PM
I'm a novice and have just worked through the Lander game tutorial by John Percival. The bad dll calling convention error message had to do with this code snipopet:
Else
'paint the craft into its new position.
BitBlt picEarth.hdc, 150, LandY, piclander.ScaleWidth, _
piclander.ScaleHeight, piclander.hdc, 0, 0, vbSrcInvert
End If
I copied and pasted all the code from his web pages, but runtime didn't like this BitBlt call.
API calls are new to me - any ideas?
JB
Else
'paint the craft into its new position.
BitBlt picEarth.hdc, 150, LandY, piclander.ScaleWidth, _
piclander.ScaleHeight, piclander.hdc, 0, 0, vbSrcInvert
End If
I copied and pasted all the code from his web pages, but runtime didn't like this BitBlt call.
API calls are new to me - any ideas?
JB