Splitting project into DLLs....

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
In need of some credit
In need of some credit
Posts: 5
Joined: Wed Apr 17, 2013 10:01 am

Splitting project into DLLs....

Post by Nishal » Wed Apr 17, 2013 12:33 pm

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).

Can't get richer than this
Can't get richer than this
Posts: 712
Joined: Mon Apr 30, 2012 11:07 pm

Re: Splitting project into DLLs....

Post by Manolo » Wed Apr 17, 2013 4:03 pm

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...

User avatar
Part Of The Furniture
Part Of The Furniture
Posts: 2292
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Splitting project into DLLs....

Post by evstevemd » Wed Apr 17, 2013 7:33 pm

You will need app with Plugin Architecture. Search the forum, there are many snippets!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 19.04/Windows 10 Pro/MacOS 10.13 - GCC/MinGW/Clang, CodeLite IDE]

Post Reply