Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

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

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

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

Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by jeffp »

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 99 times
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by Corwin - Tracker Sup »

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 95 times
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by jeffp »

That worked. Thanks for the file.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

Post by John - Tracker Supp »

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