Well, it seems that I know where the problem was.
In order to link without error I have to set in Setting of the project in "C/C++ -> Language -> Treat wchar_t as Built-In Type" to "No" (originally it was: "Yes(/Zc:wchar_t)".
(I am working with Visual Studio .NET)...
Well, it seems that I know where the problem was.
In order to link without error I have to set in Setting of the project in "C/C++ -> Language -> Treat wchar_t as Built-In Type" to "No" (originally it was: "Yes(/Zc:wchar_t)".
(I am working with Visual Studio .NET)...
I have the same problem trying to compile/link a MFC exe project with VC7. Have you solved the problem linking with comsupp.lib library?
I have done but I get the same error. also I have tested a very simple piece of code like this:
char* lpszText = "Test";
printf("char *...
I am trying to link a MFC exe project in VC7 and I am having problem with the _variant_t object. The error I get is:
targets.obj : error LNK2019: unresolved external symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.