User login

Who's online

There are currently 1 user and 138 guests online.

Online users

Advertisements


SourceForge.net Logo

Interop.PDFCreator.dll (0.9.5) incompatible with PDFCreator 0.9.3

Submitted by mrupp on Thu, 2008-04-03 14:22.

Now I have the following situation:
In our C# application, we used PDFCreator 0.9.3 and its COM interface to convert doc2pdf. But now, PDFCreator 0.9.5 is out and, having installed that, our app crashes at the following location of the constructor of my class:

public iPDFCreator()
{
m_pErr = new PDFCreator.clsPDFCreatorError();

m_pdfCreator = new PDFCreator.clsPDFCreator();
m_pdfCreator.eError += new PDFCreator.__clsPDFCreator_eErrorEventHandler(m_pdfCreator_eError);
m_pdfCreator.eReady += new PDFCreator.__clsPDFCreator_eReadyEventHandler(m_pdfCreator_eReady);

string parameters = "/NoProcessingAtStartup";
if (!m_pdfCreator.cStart(parameters, false))
{
m_pdfCreator.cClose();
}
}

Here's the exception that is thrown:

Schnittstelle nicht unterstützt
Exception Type = System.InvalidCastException
Source = mscorlib

Stack-Trace
===========
at System.Runtime.InteropServices.UCOMIConnectionPointContainer.FindConnectionPoint(Guid& riid, UCOMIConnectionPoint& ppCP)
at PDFCreator.__clsPDFCreator_EventProvider.Init()
at PDFCreator.__clsPDFCreator_EventProvider.add_eError(__clsPDFCreator_eErrorEventHandler )
at PDFCreator.clsPDFCreatorClass.add_eError(__clsPDFCreator_eErrorEventHandler )
at PrimaLib.IARLib.iPDFCreator..ctor() in ...

Submitted by broady on Fri, 2008-08-01 00:00.

Hi,did you ever find a resolution for this, I am having the same problem.

© 2006 by pdfforge.org :: Contact us

Validate XHTML or CSS.