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
Nishal
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 »

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).
Manolo
Can't get richer than this
Can't get richer than this
Posts: 828
Joined: Mon Apr 30, 2012 11:07 pm

Re: Splitting project into DLLs....

Post 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...
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Splitting project into DLLs....

Post by evstevemd »

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?
Post Reply