Exit not crash...
Blitz3D Forums/Blitz3D Programming/Exit not crash...
| ||
So I have an issue where the game simply exits, no error, no "program has ended" nothing. I'm running it in debug mode for sure. I looked through the code and I have only a single place where there is an END command to exit the program. I commented this out and it still happens. I'm using BlitzPlay, and it seems to only happen when BlitzPlay is in use, however I looked through the BP library and there is no END command in there, or any place that would shut down the app. I have no idea how this can be happening, has anyone seen anything like this or know of a function that can simply exit the program for no reason without calling an error or some kind of dialogue box? Thanks guys. |
| ||
All I can tell you is run your program in windowed mode, when you runs full screen some bugs seem to not get trapped. |
| ||
I have seen very strange exits sometimes using dll's with errors... or exiting instead of memory access violation... but with extreme cases only... |
| ||
Do you think it's the Gnet .dll? Or the .decl files that come with BlitzPlay? If that's the case that really sucks. Not much I can do about this without switching completely to a different lib. |
| ||
Try running your program with the BlitzPlay calls commented out. If the unusual exit disappears with the commenting, then the problem is in BlitzPlay. If the program exits even without BlitzPlay operating, then you know the problem is somewhere else. |
| ||
I was thinking of doing that. Problem is the game is like full on multiplayer, so in order to get to the place where it crashes I need to be connected to a server which is using Blitzplay. I guess I can just keep tweaking it, not sure what to do if it is blitzplay or that bloody dll...the entire game is based on it..I would literally have to rewrite it :( |
| ||
Can the usage for the dll be commented out? |
| ||
Good question....what's the command to access a .dll? If I can just find that in the library and disable it it might solve it.. |