1.

In Win32 Application If Defining A Variable Of Cstring Then It Gives The Error "cstring:undeclared Identifier" How To Solve The Problem? What Headerfile Need To Include?

Answer»

A faik CString is a MFC class. You cannot use it in win32 application unless you set your application to use MFC LIBRARIES. To use MFC in win32 application, go to PROJECT settings and in GENERAL TAB, set it to use MFC libraries in SHARED DLL. Then you can include MFC framework files like afxwin.h.

A faik CString is a MFC class. You cannot use it in win32 application unless you set your application to use MFC libraries. To use MFC in win32 application, go to project settings and in general tab, set it to use MFC libraries in shared DLL. Then you can include MFC framework files like afxwin.h.



Discussion

No Comment Found