Search found 380 matches

by New Pagodi
Fri Jun 30, 2006 6:03 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

Although it took me some time, I compiled a small example host and plugin. You may have a look at it here [url]htt://www.upcase.de/stuff/wxPlugin.zip[/url] Note that this example uses a static wxWidgets library using the static version of the C runtime. Hope this helps a bit. Thanks very much for t...
by New Pagodi
Wed Jun 28, 2006 5:12 pm
Forum: Compiler / Linking / IDE Related
Topic: DLL and MVS6
Replies: 10
Views: 2077

New Pagodi tried to build libraries using predfined worksapces (wx_dll.dsw) but seems that files are not generated then tried nmake -f makefile.vc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 in wxwidgets\build\msw but I get the following: nmake is not recognized as an internal or exetrn...
by New Pagodi
Tue Jun 27, 2006 11:01 pm
Forum: Compiler / Linking / IDE Related
Topic: DLL and MVS6
Replies: 10
Views: 2077

I
by New Pagodi
Tue Jun 27, 2006 7:20 pm
Forum: Compiler / Linking / IDE Related
Topic: DLL and MVS6
Replies: 10
Views: 2077

NOTE: Surfing aroun the forum I noticed that several people use the definition WXUSINGDLL in their projects. I put it in the plug in project and the dll was built fine (with some warnings, but fine) Then I put it in the toolbar project and I got these well known linking errors: error LNK2001: unres...
by New Pagodi
Tue Jun 27, 2006 7:15 am
Forum: Compiler / Linking / IDE Related
Topic: DLL and MVS6
Replies: 10
Views: 2077

Have you had a chance to look at the sample projects I sent in the other thread? If nothing else, you can use them to see a possible visual C command line line for building a working dll. While working with that project, at one point I had the plugin compiled with mingw and the host compiled with vi...
by New Pagodi
Mon Jun 26, 2006 7:06 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

I will take a look... Do you know if the MSVCRTD.DLL file has something to do? I have downloaded the code blocks ... Can you send me the project ? I want to see that "Blablablabla" message at least once! Or else I will lose it ... :x :x :x :x Again, thanks for your time, man ! I tried to send the p...
by New Pagodi
Mon Jun 26, 2006 1:27 am
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

[quote="farocam"][quote]I get the "blablablbalab" message with and without
by New Pagodi
Sun Jun 25, 2006 11:17 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

farocam wrote:I have the

"Enable Run Time Type (RTTI) Information" option selected in MVS ... Am I supposed to unselect it?

By the way... would it be unproper of me to ask you for your Messanger id?
According to the documentation, wxWidgets uses its own RTTI so that option shouldn
by New Pagodi
Sun Jun 25, 2006 9:08 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

If you can
by New Pagodi
Sun Jun 25, 2006 8:16 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

[quote="farocam"]"the library was loaded successfully."
"unable to find the plugin class."

That
by New Pagodi
Sun Jun 25, 2006 4:55 am
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

farocam wrote:
The instruction at "0x004054af" referenced memory at "0x00000000". The memory could not be "read"

Has anyone seen it before?
I think what that means is that the program is not actually creating a plugin object (or rather it
by New Pagodi
Sat Jun 24, 2006 2:21 am
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

I think there might be even more to this topic. I can't get any example working and I suspect it's due to me linking to a static C runtime, nit the DLL one. Anyway, when I find some time I'll see if I can create an example using a wxWidgets host and plugin that uses only wxDynamicLibrary and a simp...
by New Pagodi
Sat Jun 24, 2006 1:50 am
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

Besides, the line object->SetParent(this); causes my application to crash with a fatal error... :cry: Doh! It works for me. Try replacing all the code in the body of SetParent with wxLogWarning("The method can be called successfully."); and rebuilding the dll. If you can get the message, when the m...
by New Pagodi
Sat Jun 24, 2006 12:46 am
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

New Pagodi, Thanks for your time and your code. I've tried to add it into my projects and I have some doubts. I've built the dll, but some details in you aplication make me thinks it's not a real plug in: #include //enter the name of the library header here I wouldn't be able to do that if, say, fo...
by New Pagodi
Thu Jun 22, 2006 11:21 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9452

nor its methods ... Since you brought this up, I might as well explain a curious part in the library header: #include <wx/dynlib.h> #include <wx/dynload.h> #define ID_DEFAULT -1 // Default class PluginBase : public wxPanel{ public: virtual void SetParent(wxWindow* parent)=0; }; class PanelPlugin : ...