Answers

Question and Answer:

  Home  Win32API

⟩ In win32 application if defining a variable of CString then it gives the error "CStringUndeclared identifier" how to solve the problem? What headerfile need to include?

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.

 219 views

More Questions for you: