VS2005 Compilation Problem with Settings
- by vijay.j
I am trying to integrate PJNSMTPCONNECTION CLASSES in my project; they say that those classes do not use MFC.
My project is with the setting like MT, and using standard library linking.
When I try to compile, I am getting
CSTRING not defined and
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
If I include afx.h and remove windows.h,
I am getting iDLLMain already defined errors.
How do I resolve these problems, please?