Page 1 of 1

Splitting project into DLLs....

Posted: Wed Apr 17, 2013 12:33 pm
by Nishal
I want to split my wxWidgets project into DLLs. The main frame etc. will be in the main project , but I want to store all the custom wxPanels, etc. in DLLs. How can I do this???

I intend to load the DLLs during runtime into my main application...

I am using code::blocks 12.11 IDE and wxWidgets 2.9(SVN version).

Re: Splitting project into DLLs....

Posted: Wed Apr 17, 2013 4:03 pm
by Manolo
Wx compilation may produce several .dll files or an only .dll one.

Read your\wx\dir\DOCS\msw\install.txt

You can make part or all of your own app to live in a .dll (see your\wx\dir\SAMPLES\dll)

If you want to decide which wx classes live in what .dll, it's not possible.
Well, you may rework the makefile used. And many wx headers. And surely something else I miss. Last time Vadim (wx main administrator) did it, some years ago, he needed several weeks...

Re: Splitting project into DLLs....

Posted: Wed Apr 17, 2013 7:33 pm
by evstevemd
You will need app with Plugin Architecture. Search the forum, there are many snippets!