ProgramID through Api? 
Author Message
 ProgramID through Api?

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.



Mon, 21 Jan 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ProgramId through API?

2. ProgramId through API?

3. ProgramID through Api?

4. ProgramId through API?

5. How do i get the Control ProgramId?.

6. API API API

7. API, API, Who's got the API

8. releaseCapture API and send message API.

9. need help with releaseCapture API and send message API

10. I need Windows 3.11 API / Necesito API de Windows 3.11

11. Win32 API / NET API security context

12. New API-Guide & API-Toolshed Released

 

 
Powered by phpBB® Forum Software