Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: rickg22 on June 12, 2005, 04:59:47 am
-
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!
-
Have you deleted the third-party plugins?
Yiannis.
-
Yes, but that gives me an idea. I'll disable all plugins except the compiler one, and tell you what happens.
-
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. :?