That Win98 optimization did not change much in this case, but changing from debug to release did change alot
still some of these lines remain.. but MUCH fewer.
i got another problem now though; in release mode it crashes on dbSetDisplayMode!! (even after checking with dbCheckDisplayMode)
if I uncomment the line it runs fine!
and in debug build it runs fine from beginning!
i will go look into this... maybe someone can help?
edit: dang, I posted this too fast, it was due to the same buffer overrun i mentioned in the dbFileExist thread I was having.... (I used the buffer overrun to get into the assembly code of db files)
now everything works! sorry for bothering, and Thanks for yer answers!
greets,
Barnski
-- I just started with DarkSDK, by translating DBP Projects. --