Memory access violation
Blitz3D Forums/Blitz3D Programming/Memory access violation
| ||
Well, I don't know why this is happening... Each time I run my program in blitz3D it works fine...but when I create the executable, the program ends retrieving a memory access violation message.... What could be causing this? please help. Thanks |
| ||
is the exe being created in the correct folder that your media is coming from? |
| ||
totaly... |
| ||
Did you put ChangeDir SystemProperty("appdir") at the top before you compiled? |
| ||
The .Exe is in the correct folder. that's not the problem. For instance, the program begins with a vid, and it shows it. the message is retrieved only after that. I was wondering if there's a problem with my directx.....but that wouldn't make sense, since the program works fine when I run it in blitz3d. jeeeze.....l |
| ||
Compile a version with debug on and see what exactly the error is. This problem is almost always caused by misplaced media or DLLs, though. |
| ||
wrong, dude.....But I already found the problem.... I had to stop the program at some suspicious code with a waitkey() command to see when it retrieved the message.... and it seams it was the GFXDriverName(2)$ command.....Thanks for the help anyway, I'll see how to overcome this now If anyone knows why it gives the message only on .exe...you're welcome =D |