Hi , i need some help on the following problem.
I need to get the ProgramID of a given/current com object (Dll, OCX
etc), that is the LibName.ObjName (without going throught the registry)
I know that this info is somehow saved in the compiled version of any
DLL,OCX etc.(regsrv32 reads it and saves it in the registry)
Here is some "symbolic" code of what i want to do:
addinRegistration.bas:
proId=getMyProgID()
saveSomewereinRegistry(proId)
....
.....
_____________________________
appLoadAddin.bas:
addinProgId=readFromRegistryAddinProgId()
createObject(SomeAddinId)
I know know that this info can be hardcoded during the writing of the
COM object
(ProjectName.ModuleName) but i want to get it dynamically.
So the question is: were is it saved in the compiled module ?,
and is it possible to access it from an API?
eg: getProgId(myProcHandle)
Thanks in advance,
Apostolos Benisis.