--------------------Configuration: PT - Win32 Debug--------------------
Compiling...
PT.cpp
D:\PT.cpp(5) : error C2065: 'HANDL' : undeclared identifier
D:\PT\PT.cpp(5) : error C2146: syntax error : missing ')' before identifier 'DWORD'
D:\PT\PT.cpp(5) : warning C4229: anachronism used : modifiers on data are ignored
D:\PT.cpp(5) : error C2059: syntax error : ')'
D:\PT.cpp(6) : error C2143: syntax error : missing ';' before '{'
D:\PT.cpp(6) : error C2447: missing function header (old-style formal list?)
Error executing cl.exe.PT.dll - 5 error(s), 1 warning(s)

解决方案 »

  1.   

    OK,其余的都好了,可是还是有个遗留的问题,大家不吝再指教下,谢谢
    程序中是这样写的:
    BOOL WINAPI DllMain(HANDLE h, DWORD  dwReasonE, LPVOID p)
    问题如下:--------------------Configuration: PT - Win32 Debug--------------------
    Compiling...
    PT.cpp
    D:\PT\PT.cpp(7) : error C2065: 'dwReason' : undeclared identifier
    Error executing cl.exe.PT.dll - 1 error(s), 0 warning(s)