Hard link to specific PDFCreator version in c++

Hi,

I've got the problem that each new version/build of PDFCreator breaks compatiblity to my application, I have to rebuild my app to fix this again and users *must* install a specific version of PDFCreator.
Currently it even breaks between multiple versions 0.9.9 that came out.

It seems each time the uuid's of the pdf creator class gets updated?
Is there a way in c++ to circumvent this?

I'm using code from the examples that uses the following code to link to PDFCreator.

#import "c:\\program files\\pdfcreator\\pdfcreator.exe"

HRESULT result    = CoCreateInstance( pdfCLSID, NULL, CLSCTX_ALL, __uuidof(PDFCreator::_clsPDFCreator),reinterpret_cast(&pdfCreator));
 

I'm not too familiar with COM so I don't know if it's possible to get the 'generic' PDFCreator class interface, instead of this uuid specific one.

Any help appreciated.