wxTreeListCtrl as a dll

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Lloyd
Super wx Problem Solver
Super wx Problem Solver
Posts: 350
Joined: Wed May 03, 2006 2:36 pm
Location: India
Contact:

wxTreeListCtrl as a dll

Post by Lloyd » Tue May 27, 2008 4:20 am

Hi,
I am using windows 2000, Visual Studio 2005 Team Edition, wxMsw 2.8.7 in Unicode, dll build. I want to build wxTreeListCtrl as a dll.

If I "dont" pass the preprocessor macro WXUSINGDLL, gets the error unresolved external symbol in the linking phase.

If I pass WXUSINGDLL to the compiler, gets the error

"definition of dllimport static data member not allowed" in the compile time. What am I missing?

Thanks,
Lloyd

Post Reply