Текущий архив: 2009.04.05;
Скачать: CL | DM;
Вниз
Регистрация ActX библиотеки из своей программы Найти похожие ветки
← →
AlexeyMir (2006-07-25 15:06) [0]Подскажите как зарегистрировать ActiveX библиотеку из своей программы, а не использовать REGSVR32.EXE ActiveX.dll ?
← →
Попов Виталий (2006-07-25 16:26) [1]function RegisterOCX(APath: String): boolean;
var
H: integer;
RegResult: HResult;
begin
result := False;
H := LoadLibraryEx(PChar(APath), 0, LOAD_WITH_ALTERED_SEARCH_PATH);
if H <> 0 then
begin
@DllReg := GetProcAddress(H, "DllRegisterServer");
if @DllReg <> nil then
begin
RegResult := DllReg;
if RegResult = S_OK then
result := True;
end;
end;
freeLibrary(H);
end;
← →
Попов Виталий (2006-07-25 16:40) [2]Да, забыл...
type
TDllRegister = function: HResult; stdcall;
DllReg: TDllRegister;
Страницы: 1 вся ветка
Текущий архив: 2009.04.05;
Скачать: CL | DM;
Память: 0.44 MB
Время: 0.005 c