Detecting if cdintf210.dll is registered

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
askolits
Posts: 2
Joined: Thu Oct 16 2003

Detecting if cdintf210.dll is registered

Post by askolits »

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
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

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.
Post Reply