loading/drawing images

BlitzPlus Forums/BlitzPlus Beginners Area/loading/drawing images

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm running Blitzplus on a vista computer. Whenever I try to load an image and then draw it, when I try to run the program it brings up an error saying 'Invalid Image handle' and it won't compile.

A sample of what Im writing follows:

graphics 640,480

shipimage = loadimage("ship.bmp")

drawimage shipimage,320,240

flip

waitkey

Any idea what is wrong here or what could fix it? Thanks.