Win32API Question:
Download Questions PDF

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.

Download Win32API Interview Questions And Answers PDF

Previous QuestionNext Question
How to load Bitmap at Dialogbakground in an MFC application?Java is pure object oriented programming language why?