-
January 9th, 2003, 02:10 PM
#1
Compiler error C2065 and _mbstowcsz
Hi,
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.
Please help.
Thanks.
-
January 9th, 2003, 03:00 PM
#2
-
January 9th, 2003, 03:44 PM
#3
Thanks, I tried to follow the instruction regarding wchar_t, but still doesn't work.
The function has these parameters:
in VC6.0++:
int _mbstowcsz(wchar_t*, const char*, size_t) ;
in VC++.NET:
int _mbstowcsz(wchar_t*, const char*, ULONG) ;
Could anyone please help...
-
January 23rd, 2004, 06:11 PM
#4
"_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, 07:01 PM
#5
Could somebody find the function VC7 ?
Sonu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|