Win32API Question:

In Win32 application can we use CString datatype?

Win32API Interview Question
Win32API Interview Question

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.


Previous QuestionNext Question
What are the design patterns of an MFC application?What API used to hide window?