Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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??

Answers were Sorted based on User's Feedback



In win32 application if defining a variable of CString then it gives the error "CString:Undec..

Answer / lasthope

Afaik 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.

Is This Answer Correct ?    9 Yes 2 No

In win32 application if defining a variable of CString then it gives the error "CString:Undec..

Answer / nandu

yes,CString is a MFC class, so we cant use here.. in place
of that we can use std:wstring type (with header file
#include "stdlib.h")...:)-

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Win32API Interview Questions

win 3.1 supports which type of multi tasking?

2 Answers   TISL,


describe process of creating a new class of windows ??

1 Answers  


java is pure object oriented programming language why?

3 Answers   HCL,


what is the function to repaint a window immediately?

2 Answers  


What is System call executable binary file into a process?

0 Answers  


What are the COM components

2 Answers   SunSoft Technologies,


what are the design patterns of an MFC application

5 Answers   Samsung, SunSoft Technologies,


What is GDI object?

0 Answers  


what is the difference between MFC and Win32

5 Answers   ArisGlobal, Microsoft,


how radio button is active in dialog box?

1 Answers  


what API used to hide window

2 Answers  


What is Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


Categories