Differences in compiled code and non-compiled code
Archives Forums/Blitz3D Bug Reports/Differences in compiled code and non-compiled code
| ||
here is some code. It does work. When not compiled i get no error message/pop up windows. When compiled to an EXE, I get "NO DISK" "There is no disk in the drive. Please insert a disk into drive \Device\Harddisk1\DR#." #=3 4 5 etc... the main question is "Why do i get the pop up window when compiled and no pop up window when not compiled?" I am sure this a bit of a bug. Try out the code for yourself. Try it with Blitz then compile it and try it as an EXE. here is the original topic url http://www.blitzbasic.com/Community/posts.php?topic=96519#1117232 |
| ||
Possibly? While Right(CurrentDir$(),2)<> ":\" ChangeDir("..") ;GO BACK ONE SUB FOLDER Wend You should change it to this even if this isn't your current problem |
| ||
thanx but that still didnt fix the problem. but i do see how the while...wend loop is more practical for something like that. |
| ||
I still dont fully understand the Libraries and DLLs and stuff. That's still a bit out of my reach. I may try something a bit different again and see what happens. But I do think that the Blitz team should look into why the code works fine without being compiled and when compiled it gives the pop up window errors. Just something to look into. |