Author Topic: MSVC++Toolkit2003 wxWidgets App Crashes  (Read 4123 times)

Offline BlackRose

  • Multiple posting newcomer
  • *
  • Posts: 13
MSVC++Toolkit2003 wxWidgets App Crashes
« on: November 01, 2005, 03:08:26 pm »
Hello,
I'm trying to work with wxWidgets under Code::Blocks & MSVC++Toolkit. I can build app but when I start it, it crashes (Memory Access violation).
I'm using wxWidgets 2.6.2 compiled using makefile.vc (release build, shared monolithic, no unicode).
I have installed all necessary SDKs and tools described in http://wiki.wxwidgets.org/wiki.pl?MS_Free_Tools_And_WxWidgets and set system variables the same way as described and succesfully compiled wxmsw26_vc_custom.dll and lib.
When I try to compile wxWidgets samples using makefile.vc, everything is OK, sample runs.
When I make in C::B simple Win32GUI app it works fine.
When I make wxWidgets simple app (no changes in code from template), it compiles OK but crashes after start.
Can You help me someone, please?

Offline BlackRose

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: MSVC++Toolkit2003 wxWidgets App Crashes
« Reply #1 on: November 02, 2005, 08:12:31 am »
Hello!
Can someone provide simple wxWidgets C::B project for MSVC++Toolkit2003 using wxWidgets DLL and own compiler settings used (exported .reg file) ?

BlackRose

Offline BlackRose

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: MSVC++Toolkit2003 wxWidgets App Crashes
« Reply #2 on: November 02, 2005, 09:08:05 am »
Problem is solved:

I had not set compiler options "Enable C++ RTTI" and "Enable C++ exception handling" as have been set for wxWidgets  DLL compilation.

BlackRose