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).
Splitting project into DLLs....
-
- In need of some credit
- Posts: 5
- Joined: Wed Apr 17, 2013 10:01 am
-
- Can't get richer than this
- Posts: 828
- Joined: Mon Apr 30, 2012 11:07 pm
Re: Splitting project into DLLs....
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...
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...
-
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: Splitting project into DLLs....
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?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?