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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.

2153


What Message to limit the size of window?

659


What is an Hash Mapping in java?

2551


explain WM_PAINT message ?????

2761


What is preemption and context switching?

650






What is GDI object?

685


What is System call executable binary file into a process?

667


What is Function entry for DLL in win3.1?

658


what is the stack size in win 32 program

928