CDIntf for 2.10i no longer shows up in References

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
tedsung
Posts: 8
Joined: Tue Oct 01 2002

CDIntf for 2.10i no longer shows up in References

Post by tedsung »

Hi,

I've been using 2.07 of CDIntf in my VB project for a while.
CDIntf appears as a refernce in my VB project (it appears in Project->References as CDIntf) and I use it like this:

Set PDFPrinter = New CDIntf.CDIntf
retval = PDFPrinter.PDFDriverInit(IntexPDFPrintDriver)
lError = GetLastError()
If lError <> 0 Then
AmyuniPDFPrintDriverInit = True
sErrMsg = PDFPrinter.GetLastErrorMsg()
sErrMsg = GetWin32ErrorDescription(GetLastError())
End If
...

I just installed 2.10i and something has broken. When I restart VB, the CDIntf is no longer a reference.

I followed the instructions in the Common Driver Interface.pdf and
copied the cdintf210.dll to c:\winnt\system32 and regsvr32'ed it.

Am I doing something wrong?

Thanks,

Ted
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hi,

The new CDIntf appears as "Common Driver Interface" in your References.

After adding it to your application you need to Use CDIntfEx.CDIntfEx instead of CDIntf.CDIntf.

Also, by default the new CDIntf210 may be added as a Component to the VB project, if you wish to use it as a reference you may need to add it as a reference yourself.

Please note that when using version 2.10 of the PDF Converter you need to call EnablePrinter() in your application right after your call to PDFDriverInit and right before your Print command.

For more information on using version 2.10 please check our new developers' manual "Common Driver Interface 210.pdf"

Hope this helps.
Post Reply