Search found 361 matches

by New Pagodi
Tue Jun 27, 2006 7:15 am
Forum: Compiler / Linking / IDE Related
Topic: DLL and MVS6
Replies: 10
Views: 1961

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: 9090

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: 9090

[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: 9090

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: 9090

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

[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: 9090

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: 9090

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: 9090

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: 9090

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: 9090

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 : ...
by New Pagodi
Thu Jun 22, 2006 10:55 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9090

If I send you a brief summary of my classes and the hello world method I wish to load in the app ... will you have time to check it? The thing is that my library loads fine and so does the GetSymbol function ...but I don't know how to access the plugin class object nor its methods ... Here is anoth...
by New Pagodi
Thu Jun 22, 2006 6:18 pm
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9090

3)I'm developing with MVS6.0... where should I use the wxUSE_DYNLIB_CLASS ? Using the standard config you don't have to do anything, it's already defined. Have a look at WXDIR/include/wx/msw/setup.h. Woops! I guess I misunderstood the comments in the documentation for wxDynamicLibrary here . The pr...
by New Pagodi
Thu Jun 22, 2006 4:55 am
Forum: C++ Development
Topic: wxPluginManager and wxPluginLibrary
Replies: 40
Views: 9090

Hello. I
by New Pagodi
Wed Jun 21, 2006 4:43 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets contrib and wxcode sources
Replies: 2
Views: 808

After reading several messages on the forum, I now know what the problem is, but I don