Page 1 of 1

wxTreeListCtrl as a dll

Posted: Tue May 27, 2008 4:20 am
by Lloyd
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