VS2005 Compilation Problem with Settings

Posted by vijay.j on Stack Overflow See other posts from Stack Overflow or by vijay.j
Published on 2010-04-14T05:47:28Z Indexed on 2010/04/14 6:23 UTC
Read the original article Hit count: 214

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about vc++

Related posts about visual-studio-2005