Programm crashes if its not started by Visual studios...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Flario
Posts: 4
Joined: Fri Oct 12, 2007 10:42 pm

Programm crashes if its not started by Visual studios...

Post by Flario »

hi

if i start my game in visual studios then its works perfect!
but if i watn to open the exe file there comes following exception in a window:

Code: Select all

Microsoft Visual Studio Debug Libary

Deug Assertion Failed!

Programm: ...
File: dbgheap.c
Line: 1252

Expression: _CrtsValidHeapPointer(pUserData)
then i changed Multithread-Debug to Multithread-Dll and then i got an error too (only at exe unning not running in Visual studios...)

Code: Select all

0.1.exe - Error in Application

The Command in "0x7c92142e" relegates to memory "0x000000002".
The event "read" couldn't not be runned at memory"
what is my mistake there?

Mfg
Philipp
Daaark
Posts: 19
Joined: Sun Jan 14, 2007 11:14 pm
Location: IUnknown

Post by Daaark »

Are you missing the .dll in the same path as the debug executable?
Flario
Posts: 4
Joined: Fri Oct 12, 2007 10:42 pm

Post by Flario »

i have the irrlicht.dll in the same folder as the executable...
(the Windows-32-Visual studio one...)
but it is working if i start it throught visual studios!
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Google suggest that this error is often seen when mixing debug and release objects. I'd suggest starting with clean rebuilds of both debug and release configurations, and see if you get the same behaviour in both exes.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply