Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: elettronica67 on January 28, 2009, 08:34:54 am
-
Hi to all,
I have a problem: if I compile any executable application (windows) using i.e. wxMessageBox it run very well, but if I use the same object (wxMessageBox) in a DLL the compiler and the linker don't generate error, so the DLL is created correctly but when I call the function inside the program causes a Segmentation fault error.
I have created the DLL using the wizard CodeBlocks interface.
Someone can help me?
Thanks
-
It should work, if you don't call the wxMessageBox from a thread different to the main-thread.
-
It should work, if you don't call the wxMessageBox from a thread different to the main-thread.
This answer should be enough as this is not C::B related anyways. Topic locked.