Форум: "KOL";
Текущий архив: 2004.03.05;
Скачать: [xml.tar.bz2];
ВнизПроблемма совместимости с ХР Найти похожие ветки
← →
Alexeyss (2003-06-22 04:57) [0]При запуске программы в XP выходит данная ошибка"Точка входа в процедуру Register ServiceProcess не найдена в библиотеке DLL KERNEL32.DLL".
← →
Vladimir Kladov (2003-06-22 08:45) [1]В самом KOL.PAS нет ссылки на такую процедуру. Какой-то дополнительный компонент связан с ней? Кстати, в MSDN нет такой.
← →
Yury Sidorov (2003-06-22 13:51) [2]Если мне не изменяет память, то RegisterServiceProcess это недокументированния функция в Win9x, которая позволяет убрать процесс из списка процессов. Естественно, в NT/2000/XP ее нет. Так что надо ее использовать через LoadLibrary и GetProcAddress, предварительно проверив на тип ОС.
← →
Alexeyss (2003-06-22 17:48) [3]Да но библиотеки kernel32.dll нет и в windows 9x.
← →
Vladimir Kladov (2003-06-22 18:00) [4]Неужели? :)
А как вы смотрели? Или кто-то так сказал?
← →
Gandalf (2003-06-22 18:57) [5]
> Кстати, в MSDN нет такой.
Есть:
RegisterServiceProcess
The RegisterServiceProcess function registers or unregisters a service process. A service process continues to run after the user logs off.
To call RegisterServiceProcess, retrieve a function pointer using GetProcAddress on KERNEL32.DLL. Use the function pointer to call RegisterServiceProcess.
DWORD RegisterServiceProcess(
DWORD dwProcessId,
DWORD dwType
);
Parameters
dwProcessId
Specifies the identifier of the process to register as a service process. Specifies NULL to register the current process.
dwType
Specifies whether the service is to be registered or unregistered. This parameter can be one of the following values. Value Meaning
0 Unregisters the process as a service process.
1 Registers the process as a service process.
Return Values
The return value is 1 if successful or 0 if an error occurs.
Страницы: 1 вся ветка
Форум: "KOL";
Текущий архив: 2004.03.05;
Скачать: [xml.tar.bz2];
Память: 0.45 MB
Время: 0.007 c