Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / C++ [игнор отключен] [закрыт для гостей] / DLL / 2 сообщений из 2, страница 1 из 1
10.05.2006, 12:30
    #33717337
KOs-ua
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
DLL
Как из DLL-хи вызвать функцию. Я знаю порядковый номер функции.
...
Рейтинг: 0 / 0
10.05.2006, 12:38
    #33717373
Akh
Akh
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
DLL
KOs-uaКак из DLL-хи вызвать функцию. Я знаю порядковый номер функции.
автор
The GetProcAddress function returns the address of the specified exported dynamic-link library (DLL) function.

FARPROC GetProcAddress(

HMODULE hModule, // handle to DLL module
LPCSTR lpProcName // name of function
);


Parameters

hModule

Identifies the DLL module that contains the function. The LoadLibrary or GetModuleHandle function returns this handle.

lpProcName

Points to a null-terminated string containing the function name, or specifies the function's ordinal value. If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero.

Указываешь номер в lpProcName
...
Рейтинг: 0 / 0
Форумы / C++ [игнор отключен] [закрыт для гостей] / DLL / 2 сообщений из 2, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]