Здравствуйте, Аноним, Вы писали:
А>Ребята нужна помощь не могу понять почему на VC7.0 проект собирался а на 8.0 не фига не собирается
А>Output Log:
А>------ Build started: Project: 22 ProgLib, Configuration: Debug Win32 ------
А>Compiling...
А>ProgLib.cpp
А>.\ProgLib.cpp(81) : error C4430: missing type specifier — int assumed. Note: C++ does not support default-int
А>.\ProgLib.cpp(94) : error C4430: missing type specifier — int assumed. Note: C++ does not support default-int
А>.\ProgLib.cpp(127) : warning C4508: 'Hook_NtQuerySystemInformation' : function should return a value; 'void' return type assumed
А>APIHook.cpp
А>d:\projects\ntquerysysteminformation\ntquerysysteminformation\biblioteka\Toolhelp.h(87) : error C4430: missing type specifier — int assumed. Note: C++ does not support default-int
А>Generating Code...
А>Build log was saved at "file://d:\PROJECTS\ntquerysysteminformation\NtQuerySystemInformation\Biblioteka\Debug\BuildLog.htm"
А>22 ProgLib — 3 error(s), 1 warning(s)
А>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
А>Файл проекта: http://www.rsdn.ru:80/File/33151/ntquerysysteminformation.zip
А вы посмотрите на строки, что указывает компилятор.
Очевидно вы забыли тип и написали, что-то вроде:
const a = 1;
// надо
const int a = 1;