Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple stdin stuff Pin
David Chamberlain10-Jan-03 4:12
David Chamberlain10-Jan-03 4:12 
QuestionHow to append two or more GSM wave files Pin
woonkop10-Jan-03 3:24
woonkop10-Jan-03 3:24 
GeneralRelated to image processing !! Pin
Sridhar Choudary10-Jan-03 3:16
Sridhar Choudary10-Jan-03 3:16 
GeneralRe: Related to image processing !! Pin
Gary Kirkham10-Jan-03 3:42
Gary Kirkham10-Jan-03 3:42 
GeneralRe: Related to image processing !! Pin
Sridhar Choudary10-Jan-03 3:57
Sridhar Choudary10-Jan-03 3:57 
GeneralRe: Related to image processing !! Pin
Gary Kirkham10-Jan-03 4:09
Gary Kirkham10-Jan-03 4:09 
GeneralRe: Related to image processing !! Pin
Sridhar Choudary10-Jan-03 4:16
Sridhar Choudary10-Jan-03 4:16 
GeneralCompiler error C2065 with _mbstowcsz Pin
tbcode10-Jan-03 2:08
tbcode10-Jan-03 2:08 
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 resulting project would not compile, and gives this error:

Compiler error C2065: '_mbstowcsz': undeclared identifier.

But this functions compiles ok on VC++ 6.0.

This 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) ;

Since VC++6.0 and VC++.NET put this function in different locations, I did change the Properties setting for included path, and make it use Dynamic ATL since in VC++.NET this function is in atlmfc/include. I also change Properties/C/C++/Language/Treat wchar_t as Built-in Type to "No". But nothing works.

Please help.

Thanks.

GeneralRe: Compiler error C2065 with _mbstowcsz Pin
AlexO10-Jan-03 2:38
AlexO10-Jan-03 2:38 
GeneralRe: Compiler error C2065 with _mbstowcsz Pin
tbcode13-Jan-03 3:26
tbcode13-Jan-03 3:26 
GeneralRe: Compiler error C2065 with _mbstowcsz Pin
Simon.W10-Jan-03 2:43
Simon.W10-Jan-03 2:43 
GeneralRe: Compiler error C2065 with _mbstowcsz Pin
tbcode13-Jan-03 3:31
tbcode13-Jan-03 3:31 
QuestionHow to receive keyboard accelerators ? Pin
rrrado10-Jan-03 1:57
rrrado10-Jan-03 1:57 
QuestionWhy the window doesn't get minimized? Pin
Joan M10-Jan-03 1:44
professionalJoan M10-Jan-03 1:44 
AnswerRe: Why the window doesn't get minimized? Pin
User 665810-Jan-03 2:42
User 665810-Jan-03 2:42 
GeneralVideo in a Window using Visual c++ Pin
Ian James9-Jan-03 23:28
Ian James9-Jan-03 23:28 
GeneralRe: Video in a Window using Visual c++ Pin
JoeZhang10-Jan-03 0:09
JoeZhang10-Jan-03 0:09 
QuestionDialog problem ? Pin
brraj9-Jan-03 23:28
brraj9-Jan-03 23:28 
AnswerRe: Dialog problem ? Pin
Roger Allen10-Jan-03 0:36
Roger Allen10-Jan-03 0:36 
AnswerRe: Dialog problem ? Pin
Maximilien10-Jan-03 2:47
Maximilien10-Jan-03 2:47 
GeneralMy own Version Pin
peterchen9-Jan-03 23:12
peterchen9-Jan-03 23:12 
GeneralRe: My own Version Pin
JoeZhang10-Jan-03 0:38
JoeZhang10-Jan-03 0:38 
GeneralCEdit Pin
yj1119229-Jan-03 23:02
yj1119229-Jan-03 23:02 
GeneralLoadBarState shifts CToolBar by 4 pixels Pin
Eugene Plokhov9-Jan-03 22:56
Eugene Plokhov9-Jan-03 22:56 
GeneralChecking a Language ! Pin
Hadi Rezaee9-Jan-03 22:50
Hadi Rezaee9-Jan-03 22:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.