Author Topic: DECLARE_EVENT_TABLE crash  (Read 4832 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
DECLARE_EVENT_TABLE crash
« 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!

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4306
    • Code::Blocks IDE
DECLARE_EVENT_TABLE crash
« Reply #1 on: June 12, 2005, 08:21:49 am »
Have you deleted the third-party plugins?

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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
DECLARE_EVENT_TABLE crash
« Reply #2 on: June 12, 2005, 05:39:47 pm »
Yes, but that gives me an idea. I'll disable all plugins except the compiler one, and tell you what happens.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
*twitch... twitch...*
« Reply #3 on: June 12, 2005, 10:08:50 pm »
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.  :?