Re: DLL of ActiveX GUID
- From: "alanglloyd@xxxxxxx" <alanglloyd@xxxxxxx>
- Date: Fri, 21 Sep 2007 02:59:39 -0700
On 21 Sep, 10:00, "Chris.Cheney" <Chris.CheneyXXNOSPA...@xxxxxxxxx>
wrote:
No way round it that I know of. But it's really not too bad if you use<snip>
the MS API:
Thanks, Chris. I was just being idle. Just how incredibly idle you can
see from the Delphi code <g>.
function TInsSpMkDll.ActiveXDLL(Guid : TGuid) : string;
var
Reg : TRegistry;
DLLKey : string;
begin
Result := '';
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_CLASSES_ROOT;
DLLKey := '\CLSID\' + GUIDToString(Guid) + '\InprocServer32';
if Reg.OpenKey(DLLKey, false) then
Result := Reg.ReadString('');
finally
Reg.Free;
end;
end;
Alan Lloyd
.
- Follow-Ups:
- Re: DLL of ActiveX GUID
- From: Chris.Cheney
- Re: DLL of ActiveX GUID
- References:
- DLL of ActiveX GUID
- From: alanglloyd@xxxxxxx
- Re: DLL of ActiveX GUID
- From: Jamie
- Re: DLL of ActiveX GUID
- From: alanglloyd@xxxxxxx
- Re: DLL of ActiveX GUID
- From: Chris.Cheney
- DLL of ActiveX GUID
- Prev by Date: Re: DLL of ActiveX GUID
- Next by Date: Re: DLL of ActiveX GUID
- Previous by thread: Re: DLL of ActiveX GUID
- Next by thread: Re: DLL of ActiveX GUID
- Index(es):