how is this? i'm a noob without the skills of a programmer but im an IT but i still did'nt take my programming subjects.
i got all of these errors .
1>------ Build started: Project: DLLMain, Configuration: Debug Win32 ------
1> DLLMain.cpp
1>DLLMain.cpp(11): error C2146: syntax error : missing ';' before identifier 'APIENTRY'
1>DLLMain.cpp(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>DLLMain.cpp(11): error C2146: syntax error : missing ';' before identifier 'DllMain'
1>DLLMain.cpp(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>DLLMain.cpp(11): error C2065: 'HMODULE' : undeclared identifier
1>DLLMain.cpp(11): error C2146: syntax error : missing ')' before identifier 'hModule'
1>DLLMain.cpp(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>DLLMain.cpp(11): error C2059: syntax error : ')'
1>DLLMain.cpp(12): error C2143: syntax error : missing ';' before '{'
1>DLLMain.cpp(12): error C2447: '{' : missing function header (old-style formal list?)
1>DLLMain.cpp(25): error C2065: 'VK_F11' : undeclared identifier
1>DLLMain.cpp(25): error C3861: 'GetKeyState': identifier not found
1>DLLMain.cpp(27): error C2065: 'DWORD' : undeclared identifier
1>DLLMain.cpp(27): error C2059: syntax error : ')'
1>DLLMain.cpp(28): error C2065: 'DWORD' : undeclared identifier
1>DLLMain.cpp(28): error C2059: syntax error : ')'
1>DLLMain.cpp(29): error C2065: 'DWORD' : undeclared identifier
1>DLLMain.cpp(29): error C2059: syntax error : ')'
1>DLLMain.cpp(32): error C2065: 'VK_F12' : undeclared identifier
1>DLLMain.cpp(32): error C3861: 'GetKeyState': identifier not found
1>DLLMain.cpp(34): error C2065: 'DWORD' : undeclared identifier
1>DLLMain.cpp(34): error C2059: syntax error : ')'
1>DLLMain.cpp(35): error C2065: 'DWORD' : undeclared identifier
1>DLLMain.cpp(35): error C2059: syntax error : ')'
1>DLLMain.cpp(36): error C2065: 'DWORD' : undeclared identifier
1>DLLMain.cpp(36): error C2059: syntax error : ')'
1>DLLMain.cpp(39): error C3861: 'Sleep': identifier not found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========