hi everybody!
i am writing a wxWidgets dll and to compile it, i have to use the preprocessor symbol WXUSINGDLL to get rid of a "LNK2001: unresolved external symbol "char const * const wxEmptyString"" error.
now when i try to use this dll for testing with the wxWidgets grid sample, i get this:
Debug Error!
Programm: ...
R6034
An application has made an attempt to load the C runtime without using a manifest. This is an unsupported way to load visual C++ dlls. you need to modify your application to build with a manifest. for more information, see the "visual c++ libraries as shared side-by-side assemblies" topic in the product documentation.
what is wrong here?
thanx!
R6034 with WXUSINGDLL Topic is solved
-
- Ultimate wxWidgets Guru
- Posts: 539
- Joined: Fri May 22, 2009 8:52 am
- Location: Bremen, Germany
ok problem solved, although i am not sure why.
one of the two dlls was linking into the $(WXWIN)/lib/vc_lib and the other into $(WXWIN)/lib/vc_dll.
same difference with the $(WXADDITIONS)/lib/vc_lib folder.
changing both to link into the lib folder solved the problem.
i had overlooked this small but important difference many times.
now, also the R6034 manifest error is solved, finally....
one of the two dlls was linking into the $(WXWIN)/lib/vc_lib and the other into $(WXWIN)/lib/vc_dll.
same difference with the $(WXADDITIONS)/lib/vc_lib folder.
changing both to link into the lib folder solved the problem.
i had overlooked this small but important difference many times.
now, also the R6034 manifest error is solved, finally....