Simple DLL usage

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

nbrege
User
Posts: 19
Joined: Tue Dec 15, 2009 12:50 am

Simple DLL usage

Post by nbrege »

I am trying to evaluate the Simple DLL SDK to view PDF files in my VB.Net applications & I have a few questions:

1) In the documentation it says "This ActiveX control has been specially developed for fast and simple usage, does not require the
developer's licence
, but has the limited functionality." What exactly do you mean by "does not require a developers license"?

2) The docs mention a "settings.dat" file to store settings for the control, but there is no mention of what goes in the setting file. Can you clarify?

3) In the .Src method you can add specific 'open' actions (like page# & zoom), but I couldn't get them to work. Can you provide an example?

4) After loading a file in the viewer, is there a way to "unload" it, so that the viewer is blank?

Thanks.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Simple DLL usage

Post by Stefan - PDF-XChange »

Hello nbrege,

Could you please point us to the exact location in the documentation that states this?

The Simple DLL SDK is not an AX control, and both the Simple DLL SDK and the AX version of our Viewer DO require a valid license, so please make sure you are reading the correct manual/help file for our products.

Best,
Stefan
nbrege
User
Posts: 19
Joined: Tue Dec 15, 2009 12:50 am

Re: Simple DLL usage

Post by nbrege »

I found this in the PDFV_AX.pdf documentation file, section 2.5.

2.5 Simple ActiveX Control
This ActiveX control has been specially developed for fast and simple usage, does not require the
developer's licence, but has the limited functionality.
Note: this control does not require the developer's licence and also works with the end-user's pro-licence
which can be installed on end-user's computer.
So, if the end-user uses the pro-licence the control will work in a pro-mode on his computer, if the user
has no pro-licence the control will work in free-mode on his computer.
The Simple ActiveX control supports the following interfaces:
IPDFXCpreview This interface allows applications to implement an instance of the
Simple PDF-XChange Viewer control.
Control Identificators:
CLSID: {DFC89414-E8E7-49c0-B14E-EB61245D3A5D}
ProgID: PDFXCviewAx.CoPDFXCpreview
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Simple DLL usage

Post by Stefan - PDF-XChange »

Hi nbrege,

Yes this relates to the Simple AX control - but when you do not provide a developer license, the end user will need to have their own - or our Viewer will work in trial mode. This is also the help file for the Viewer AX SDK.

The Simple DLL SDK help file is PXCView36SSDK_Help.chm (in the same folder), and you need to take a look at the "PXCView36" sample app in your desired language to check how to use the Simple DLL SDK.

Best,
Stefan
nbrege
User
Posts: 19
Joined: Tue Dec 15, 2009 12:50 am

Re: Simple DLL usage

Post by nbrege »

So Simple AX & Simple DLL are 2 different products?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Simple DLL usage

Post by Stefan - PDF-XChange »

Yes that's correct.

Best,
Stefan