Weird crash when building EXE

Blitz3D Forums/Blitz3D Programming/Weird crash when building EXE

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 have a weird problem and my searches of the forum didn't turn up anything ...

My game runs fine from within my IDE. I can run in debug mode, or normal, and everything is cool. However, if I create an executable and try to run it from the games directory I get a "memory access violation".

I know that it's finding all of the files it needs since I have custom loading functions that give me useful errors when files aren't found. It's as soon as it goes to start drawing stuff ... boom.

I've been trying to insert "runtimeerror" lines into the code to try and narrow down the search as to where the actual problem is, but no luck yet.

Does anyone have ANY suggestions about things to look for or has anyone had a similar experience? It's starting to really drive me crazy.