An Linking error: wxmsw28d_adv.lib

Vadim Zeitlin vadim at wxwidgets.org
Tue Jan 8 05:45:11 PST 2008


On Tue, 8 Jan 2008 10:51:01 +0800 "Keane.J.G." <keane.jg at googlemail.com> wrote:

K> But the following codes make it complied successfully:
K> #pragma comment(lib,"comctl32.lib")
K> #pragma comment(lib,"rpcrt4.lib")
K> 
K> Why the wx core libs haven't linked these reference libs?

 Because not all compilers support #pragma comment and it's not difficult
to add them to the list of libraries in your makefile. Of course, all make
and project files provided with wx itself already have them.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list