"Runtime Error 501 - Image number illegal at line 179" is what I get when I try to run your app from work. The machine is a P4 2.6, GeForce 4 MX 64MB, running WinXP/DX9b. DBP has not been installed here.
We tried it on another machine here (similar setup including OS and DX), and while it loaded - the graphics did not. DBP demo is on this machine.
From home I tried it, and it worked great. I got nearly 200fps. This was on a P4 2.4, Radeon 9600Pro 128MB, running WinXP/DX9b. DBP was installed here.
I purchased DBP locally yesterday, and unfortunately have had the same mixed results with my own little sprite-based applications. I've tried them on a total of 5 machines, and each only worked on the machine I wrote the app on. This doesn't leave warm fuzzies for a new user - but I'm willing to accept (read: hope) that it's my fault at this point (although had I known DX9b was required prior to buying DBP, I wouldn't have bought it in the first place...While installing DX9 might be feasible for Max Payne - it doesn't make a lot of sense for the little games I plan to make). I guess I wish this was explained more clearly on the DarkBasic site, rather than having to dig through forums to find out these facts.
On that topic, does anyone know if there are tutorials available on topics of either A.) troubleshooting your apps compatibility across different machines (very difficult right now), or B.) the specific code differences between DB and DBP... This is another frustrating topic I've had to deal with, since it took a while to learn that some of the tutorials I spent hours trying to get working - don't function in DBP... (Who'd have thought the higher end package doesn't incorporate the features of the lower one... yet another feature I wish extended further than forums and buried information).
btw: Has anyone else noticed from the DarkBasic book (the published one, not manual) that many of the examples use ' for comments, rather than REM? I sure wish DBP supported those - much more readable than REM.
Frustrated by still trying,
Luke
Luke Freiler | Centercode, Inc.
luke@centercode.com | YIM/AIM: sine909