I am trying to build the application
http://www.tenouk.com/ModuleM.html
Not sure where to start any help would be great.
Error 4 error C2065: 'USER_INFO_1' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 37
Error 5 error C2146: syntax error : missing ';' before identifier 'ui' c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 37
Error 6 error C2065: 'ui' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 37
Error 7 error C2065: 'DWORD' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 39
Error 8 error C2146: syntax error : missing ';' before identifier 'dwLevel' c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 39
Error 9 error C2065: 'dwLevel' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 39
Error 10 error C2146: syntax error : missing ';' before identifier 'dwError' c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 41
Error 11 error C2065: 'dwError' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 41
Error 12 error C2065: 'NET_API_STATUS' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 43
Error 13 error C2146: syntax error : missing ';' before identifier 'nStatus' c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 43
Error 14 error C2065: 'nStatus' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 43
Error 15 error C3861: 'exit': identifier not found c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 57
Error 16 error C2228: left of '.usri1_name' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 67
Error 17 error C2228: left of '.usri1_password' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 69
Error 18 error C2228: left of '.usri1_priv' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 71
Error 19 error C2065: 'USER_PRIV_USER' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 71
Error 20 error C2228: left of '.usri1_home_dir' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 73
Error 21 error C2228: left of '.usri1_comment' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 75
Error 22 error C2228: left of '.usri1_flags' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 77
Error 23 error C2065: 'UF_SCRIPT' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 77
Error 24 error C2228: left of '.usri1_script_path' must have class/struct/union c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 79
Error 25 error C2065: 'LPBYTE' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 87
Error 26 error C3861: 'NetUserAdd': identifier not found c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 83
Error 27 error C2065: 'NERR_Success' : undeclared identifier c:\documents and settings\mcupryk\my documents\visual studio 2005\projects\checkaccess\checkaccess.cpp 93