I am experiencing a bit trouble with wxHtmlWindow!!!
I am developing my application (C++ with .NET03, wxWidgets 2.6.2) and everything works iff I don't use wxHtmlWindow when I want to add an "About" to myApp in frame.cpp; in fact when I try to make
-----------------
...
wxHtmlWindow win;
...
-----------------
During LINKING, I get MANY errors like this
-------
frame.obj : error LNK2001: external symbol "protected: virtual struct wxEventTable const * __thiscall wxHtmlWindow::GetEventTable(void)const " (?GetEventTable@wxHtmlWindow@@MBEPBUwxEventTable@@XZ) unresolved
....
--------
Although, if try to compile samples like the one showing "how to build an about with wxHtmlWindow" or everything else using wxHtmlWindow all WORKS!!
I don't have any idea on the errors...
- critical code (and include) are cut&pasted from samples
- compilation has NO warnings
- samples work..
Advices?
thanks in advance, giulio
Linking problem with wxHtmlWindow Topic is solved
ok, thank you for suggestion and I agree with you, although how this may be possible?
File included in sample is same included in my frame.h, maybe there could be some conflicts between names in included files and mine....even if in my opinion this cannot be the problem (why only in this case?and why is only a matter of mine? too unusual..)
I will follow investigating, hoping to fix this problem...
g.
File included in sample is same included in my frame.h, maybe there could be some conflicts between names in included files and mine....even if in my opinion this cannot be the problem (why only in this case?and why is only a matter of mine? too unusual..)
I will follow investigating, hoping to fix this problem...
g.
OK problem fixed adding wxmsw26d_html.lib to linker's input... wow... I will follow hating .NET and silly configurations.. thanks micro, you deserve a wxAward!!micros wrote:Most probably you're not linking against the wxmsw???_html.lib. Try looking it up among the compiled libs and add it to Project Settings->Linker->Input->Additional Dependencies.