Hello i need help
I am using a picturebox to rotate an image and need to place it into a directdrawsurface7 object
I am trying to use the DDraw.GetSurfaceFromDC command with the HDC of the Picturebox and it just wont have it, it comes back with a Automation error
Please what am i doing wrong if it isnt possible to use this then how can i do it??????
Set DSpriteSurfaces(i, LoadC) = DDraw.GetSurfaceFromDC(frmBattle.pbBattle.hDC)




Reply With Quote