User forums > Help

Execution error with wxDialog (none using wxFrame)

(1/3) > >>

barbarello:
Hi all,

I'm working with
CODEBLOCKS 1.0RC2
wxWidgets 2.6.2


When i create a wxFrame, it's work (compilation and execution) correctly
But if i create a wxDialog, the compilation return 0 error and 0 warning but the execution of exe file send a messagebox :

The process entry point _ZN8wxDialog17MSWProcessMessageEP6tagMSG not found in lib wxmsw26_gcc_cb.dll

I need to copy wxmsw26_gcc_cb.dll into a directory specified by the system 's path (windows or system32), the exe file execute without error.

I think the problem come from my compilations parameters....

Anybody already have this problem or can help me ?

Thanks a lot

Michael:
Hello,

Can you try with the latest nightly build and see if you still have your problem?

Michael

thomas:
You have the same problem as in your last thread.
http://forums.codeblocks.org/index.php?topic=1891.msg14602#msg14602

This is because you still do the same thing. You still link against the dll that comes with CodeBlocks. You should not do that.

Also, you should really abstain from copying around those dlls (in particular when using several different versions of the same dll as you apparently do), because that will certainly run you into problems sooner or later. It is very well possible that Code::Blocks ceases to function because of this, and you will not know why...

Compile your own version of wxWidgets, and either copy exactly one instance with an unambiguous name into a system path, or alternatively, keep one copy per program in the same folder as the programs that require it.

barbarello:
Yes problem is the same.

As i explain, I need to work on my project and prefer to come back to this problem later...but the time is come.


--- Quote ---Compile your own version of wxWidgets, and either copy exactly one instance with an unambiguous name into a system path, or alternatively, keep one copy per program in the same folder as the programs that require it.
--- End quote ---

I believe,that's what i've made...But i really sure this error is due to my compilation parameters.

I followed point per point this link :
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.1_to_develop_Code::Blocks_%28MSW%29

Is there anyboby working with the same configuration of mine ?

Sorry for my low english level... :oops:

Thanks for helping






Michael:
You can try Therion's wxWindows 2.6.2 build. May be it will work fine for you.

Michael

Navigation

[0] Message Index

[#] Next page

Go to full version