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.
Click Here to Expand Forum to Full Width