News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

DECLARE_EVENT_TABLE crash

Started by rickg22, June 12, 2005, 04:59:47 AM

Previous topic - Next topic

rickg22

I'm having a problem trying to modifying the SDK, maybe one of you guys can help me.

I added a DECLARE_EVENT_TABLE() in the EditorBase class (CVS), with an empty BEGIN_EVENT_TABLE(EditorBase,wxPanel) - END_EVENT_TABLE() block.

It compiles ok, but on startup, Code::Blocks gives me a runtime error 0xC0000005.  :( What am I doing wrong? Those event macros were the ONLY thing I added.

Please help!

mandrav

Have you deleted the third-party plugins?

Yiannis.
Be patient!
This bug will be fixed soon...

rickg22

Yes, but that gives me an idea. I'll disable all plugins except the compiler one, and tell you what happens.

rickg22

I found the cause. The EditorBase class wasn't DLLIMPORT'ed, and this was generating the runtime error because the starthere.cpp was executed in the main exe, not the DLL.

UGH. I need some rest, later I'll work on doing the *ACTUAL* modifications.  :?