Posts: 1,271
Threads: 399
Joined: Mar 2003
do you have an internal function to retreive the file from the typelib string ?
when not i guess its to open HKEY_CLASSES_ROOT\TypeLib\{}
and look for the win32 key.
Posts: 12,140
Threads: 142
Joined: Dec 2002
;typelib MSHTML {3050F1C5-98B5-11CF-BB82-00AA00BDCE0B} 4.0 0 1
dll oleaut32 #QueryPathOfRegTypeLib GUID*guid @wVerMajor @wVerMinor lcid BSTR*lpbstrPathName
dll ole32 IIDFromString @*lpsz GUID*lpiid
str guidstr="{3050F1C5-98B5-11CF-BB82-00AA00BDCE0B}"
GUID guidbin
guidstr.unicode
IIDFromString(+guidstr &guidbin)
BSTR s
QueryPathOfRegTypeLib(&guidbin 4 0 0 &s)
out s