After a bit of debug I think that, for some reason, if you create a viewer with
".create" save will work (plus enabled), but not with a design-time component (why?)
Today more test...
After a bit of debug I think that, for some reason, if you create a viewer with
".create" save will work (plus enabled), but not with a design-time component (why?)
Today more test...
I've got a big problem.
After a couple of DLL update, now my software, without change, does not write PDF.
It's a delphi 5 project, and I (should?) have a PLUS license
Here's a very simple example
unit main;interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, WPViewPDF3, StdCtrls;type TForm1 = class(TForm) Button1: TButton; WPViewPDF1: TWPViewPDF; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end;var Form1: TForm1;implementation{$R *.DFM}procedure TForm1.Button1Click(Sender: TObject);begin WPViewPDF1.ViewerStart('', 'Franco Corbelli', 'XXXX-XXXX-XXXX-XXXX', 12345678); WPViewPDF1.loadfromfile(extractfilepath(application.exename)+'1.pdf'); //ShowMessage(inttostr(integer(wpviewpdf1.plus.enable(0)))); // result 0 (not enabled!) //wpviewpdf1.plus.SetSecurityMode(0); // without luck //wpviewpdf1.Plus.SetSecurityPFlags(255); // no effect try WPViewPDF1.plus.savetofile(extractfilepath(application.exename)+'2.pdf'); except on e:exception do showmessage(e.message); end;end;end.
Here the example PDF
http://docdroid.net/gd4x
Where is the problem?
Seems to have "lost" PLUS function!
PS in same directory
I've found a strange problem with Workcenter FAX.
Here an example
Can someone help me?
Thanks