January 9th, 2003, 01:10 PM
Compiler error C2065 and _mbstowcsz
When I convert a Visual C++ 6.0 project to Visual C++ .NET by opening the project using .NET environment, and accepting all VC 7.0 conversion defaults, the new project would not compile, and gives this error:
Compiler error C2065: '_mbstowcsz': undeclared identifier.
This functions compiles ok on VC++ 6.0.
Since VC++6.0 and VC++.NET put this function in different locations, I did change the included path, and make it use Dynamic ATL since in VC++.NET this function is in atlmfc/include. But nothing works.
January 9th, 2003, 02:00 PM
January 9th, 2003, 02:44 PM
Thanks, I tried to follow the instruction regarding wchar_t, but still doesn't work.
The function has these parameters:
int _mbstowcsz(wchar_t*, const char*, size_t) ;
int _mbstowcsz(wchar_t*, const char*, ULONG) ;
Could anyone please help...
January 23rd, 2004, 05:11 PM
"_mbstowcsz".NET - Dazzed & Confused
I have exactely the same problem
the function "_mbstowcsz" is in cstringt.h(91)
never compiled in .NET even when I include the
h file. Why?
January 30th, 2004, 06:01 PM
Could somebody find the function VC7 ?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.