Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
jeffp
User
Posts: 859
Joined: Wed Sep 30, 2009 6:53 pm

Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by jeffp » Wed Sep 30, 2009 7:10 pm

I'm new to your product and just trying to get up to speed by compiling your Delphi examples. However, I'm having an issue that seems to be related to the PDFXCviewAxLib_TLB.pas file that Delphi 2007 generates from your PDFXCviewAx.dll.

When I try compile your PDFXChangeViewerActiveX project, the compiler stops anywhere there is a property or procedure on the CoPDFXCview1 object (e.g. CoPDFXCview1.SetProperty). In looking at the TLB file, it doesn't appear that the properties and methods got exposed property. As such, I have to add "ControlInterface" to get access to the properties and methods (e.g., CoPDFXCview1.ControlInterface.SetProperty).

This doesn't look right, but maybe I'm missing something. Can you email me the PDFXCviewAxLib_TLB.pas that was used to create your Delphi Demos? Also, does this issue come up on your end in Delphi 2007. I wouldn't want this to happen to others that are just starting out.

I've attached the PDFXCviewAxLib_TLB.pas that was generated on my end.
Attachments
PDFXCviewAxLib_TLB.zip
(6.01 KiB) Downloaded 51 times

Corwin - Tracker Sup
User
Posts: 670
Joined: Tue Nov 14, 2006 12:23 pm

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by Corwin - Tracker Sup » Thu Oct 01, 2009 2:21 pm

Hi,
Please try to use .pas file attached to this post.
In new build problem with Viewer AX registration in Delphi will be fixed.
Thanks.
Attachments
PDFXCviewAxLib_TLB_D7.zip
(5.29 KiB) Downloaded 51 times

jeffp
User
Posts: 859
Joined: Wed Sep 30, 2009 6:53 pm

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by jeffp » Thu Oct 01, 2009 3:20 pm

That worked. Thanks for the file.

John - Tracker Supp
Site Admin
Posts: 8204
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by John - Tracker Supp » Thu Oct 01, 2009 4:02 pm

Pleased its resolved - thanks Jeff.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Post Reply