my dll error ('CString' : undeclared identifier)
-
dll doesn't know CString what problems. can i use directly CString? i want to use CString::mid function. mydll.cpp(198) : error C2065: 'CString' : undeclared identifier
-
dll doesn't know CString what problems. can i use directly CString? i want to use CString::mid function. mydll.cpp(198) : error C2065: 'CString' : undeclared identifier
vc-programmer- wrote: can i use directly CString? Yes, as long as you have correctly included the MFC header and library files.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
vc-programmer- wrote: can i use directly CString? Yes, as long as you have correctly included the MFC header and library files.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
MFC header and library files what i need MFC header and library.. #include "windows.h" #include "afx.h" i try above header files. i can not access CString. how can i do?
-
MFC header and library files what i need MFC header and library.. #include "windows.h" #include "afx.h" i try above header files. i can not access CString. how can i do?
I would suggest using AppWizard to create an MFC DLL rather than trying to retrofit your DLL to use MFC.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
I would suggest using AppWizard to create an MFC DLL rather than trying to retrofit your DLL to use MFC.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
yes! i understand for your suggesting. thank you so kind...