I'm trying to use the new PDFCreator (V2.1). clsPDFCreator is no longer there, and all the examples I've found in my searches use that old system.
They supply examples in other languages, but none in C++ (MFC Windows). I think that once I have established the connection to PDFCreator I can follow the examples in the other languages.
A fragment of the old version:
CComPtr<PDFCreator::_clsPDFCreator> pdfObject;
HRESULT hr = pdfObject.CoCreateInstance(L"PDFCreator.clsPDFCreator");
pdfObject->cStart("/NoProcessingAtStartup", 1);
and I've been trying to guess what the new version equivalent should be, but with no success. For example:
CComPtr<PDFCreator::IPDFCreator> pdfObject;
HRESULT hr = pdfObject.CoCreateInstance(L"PDFCreator.IPDFCreator");
compiles but hr signals a failure...
hr gives me "incorrect interface string" (I'm translating from italian): hr = 0x800401f3 Stringa dell'interfaccia non valida. –
PDFCreator makers have now told me documentation and proper support for COM will only be available in V2.2
User contributions licensed under CC BY-SA 3.0