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
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 |
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 |
What is Win32?
14 Answers AAA, Genpact, HCL, Wipro,
What Message to limit the size of window?
What is an Hash Mapping in java?
What is preemption ? context switching ?
System call executable binary file into a process
How to load Bitmap at Dialogbakground in an MFC application?
1 Answers SunSoft Technologies,
Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.
how radio button is active in dialog box?
to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.
what Message displayed when a window is destroyed
Message to limit the size of window
What is Function entry for DLL in win3.1?