Solving the problem of win32 application

Within win32 application when defining a variable of CString then this provides the error "CString:Undeclared identifier" so how to solve the problems? What headerfile require including?

E

Expert

Verified

A faik CString is a MFC class. You can’t use it in win32 application unless you set your application to use MFC libraries. To use MFC within win32 application, get tha project settings and in general tab, set this to use MFC libraries in shared DLL. After that you can comprise MFC framework files as afxwin.h

   Related Questions in Financial Management

©TutorsGlobe All rights reserved 2022-2023.