You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
I am rewriting my demo for Irrlicht v.0.7.1. When I pass my event receiver to createDevice function everything compile just fine but when I run exe I get error mesage:
...exe generated errors and will be terminated by Windows system. Restart program.
I tried to recompile 04.Movement example (to be sure that it is not my event receiver which is wrong) and got the same problem. Compilation is OK but when I try to run exe I get the same message.
Does somebody have similar problem?
...I tried it on both DirectX and OpenGL and two mashines, one with WinXP and second with Win2000.
Be sure you're linking properly to the new Irrlicht 0.7.1 lib and that the DLL you're linking to matches the lib.
I had this same problem, with other things as well, it was because the DLL I was using was compiled with 0.7.1, but I was still linking to the old 0.7 LIB file.
Hi, I'm having the same problem with Irrlicht 0.7.1, just like arras's description. As a new user I've downloaded the 0.7 full package and extracted the 0.7.1 update over it to replace old files.
... so I'm pretty sure I'm not linking to the 0.7 lib, I checked all the files dates (2004-09-25).
It must be something else, but I could't figure it out so far...
I'm using Dev-C++ 4.9.9.0 with g++ 3.4.2 on a Windows 2000 system.
Robomaniac >> exe crashes only if there is event receiver passed in to create device, means it should be problem with event receiver. Only thing which may cause some problems is that as you can see array bool key[KEY_KEY_CODES_COUNT] is not inicialized. Thats becouse if I try to do it outside of main() I get compile error. With Irrlicht 0.6 it was functioning without initialization.
Aslo if I try to pass any other receiver, like one from Movement example where there are no arrays, it crashes exactly in the same way, so its probably not array initialization issue.
I will try to test it more. I can try to strip code to most basic stuff to make sure it is not something in rest of the code.