I have code that will let me detect if a particular item is registered in the windows registry. Is the registry key for PDF Converter the follwing:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{4856F146-7516-11D3-BBE5-D53DCBD65107}
The assumption is that this is a static registry value? Is this true?
When running my application, I want to make sure the file cdintf210.dll is registered first. If not, I can register it through code. If it is registered, I don't want to try and 're-register' it.
Thanks,
John
Detecting if cdintf210.dll is registered
Hi,
This is a static key for our type library, but it doesn't tell you if CDintf210.dll is registered.
To be sure that this dll is registered you can either try to create an object of type CDintfEx.CDintfEx from your application or you can run Regsvr32 to register CDintf210 in the system directory.
There is no problem in running Regsvr32 if the dll is already registered.
This is a static key for our type library, but it doesn't tell you if CDintf210.dll is registered.
To be sure that this dll is registered you can either try to create an object of type CDintfEx.CDintfEx from your application or you can run Regsvr32 to register CDintf210 in the system directory.
There is no problem in running Regsvr32 if the dll is already registered.