Right:
#include "StdAfx.h"
#include <WININET.H> #include "ReceiveMsg.h" #pragma comment(lib,"Wininet") Wrong:
#include <WININET.H>
#include "StdAfx.h"
#include "ReceiveMsg.h" #pragma comment(lib,"Wininet") 不能放在StdAfx.h的前面,此.h文件为预编译的,如放在此前面就不编译了。 |
|
来自: AwayFly > 《vc编程错误处理》