G
George
Dear All,
I'm writing a DLL (no user interface) and would like to use CString in one
of my procedures. But somehow CString is not defined. I checked MSDN help
and it says to include <afx.h>. But I got the following error message:
c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) :
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not
#include <windows.h>
What should I include (or in what order) to make CString defined? Any help
is greatly appreciated.
Best regards,
George
I'm writing a DLL (no user interface) and would like to use CString in one
of my procedures. But somehow CString is not defined. I checked MSDN help
and it says to include <afx.h>. But I got the following error message:
c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) :
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not
#include <windows.h>
What should I include (or in what order) to make CString defined? Any help
is greatly appreciated.
Best regards,
George