Форум: "Основная";
Текущий архив: 2002.03.21;
Скачать: [xml.tar.bz2];
ВнизЗагрузка ActiveX компонентов Найти похожие ветки
← →
kig (2002-03-06 18:05) [3]Для inproc-серверов (dll, ocx ...)
Динамически грузите dll (ocx ...), получаете точку входа на DllRegisterServer и вызываете ее
Instructs an in-process server to create its registry entries for all classes supported in this server module. If this function fails, the state of the registry for all its classes is indeterminate.
STDAPI DllRegisterServer(void);
Return Values
This function supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:
S_OK
The registry entries were created successfully.
SELFREG_E_TYPELIB
The server was unable to complete the registration of all the type libraries used by its classes.
SELFREG_E_CLASS
The server was unable to complete the registration of all the object classes.
Remarks
E_NOTIMPL is not a valid return code.
Для local-серверов (exe) - просто запустить. Если запускать с ключами (в Дельфи кажется /REGSERVER) - то сервер только регистрируется и тут же выгружается.
Страницы: 1 вся ветка
Форум: "Основная";
Текущий архив: 2002.03.21;
Скачать: [xml.tar.bz2];
Память: 0.44 MB
Время: 0.005 c