Print Page | Close Window

cant find pas and dcu files

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2136
Printed Date: 16 May 24 at 3:29AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: cant find pas and dcu files
Posted By: jorgenovoa
Subject: cant find pas and dcu files
Date Posted: 08 Feb 12 at 5:04PM
hi,
i've downloaded quickpdf lite  library 8.2 for Delphi.. but i cant installit
in the reference guaide and editing in Delphi, says that i have to add the pas and dcu files to my aplications or library path, but i cant found those files in the quickpdf installation folder, the only files are located there are:
QuickPDF64Lite0812.dll
QuickPDF64Lite0812.tlb
QuickPDFLite0812.dll
QuickPDFLite0812.tlb

I tryied to intall the dll file as a  new component in delphi ide but it raise errors and has not all properites.

Can you please tell me restrictrions of the lite library?, does it really free?, whats the unlock key of lite library?

IDE: Delphi 2010 and D7
op: win 7 64 and 32

Regards



Replies:
Posted By: Ingo
Date Posted: 08 Feb 12 at 8:56PM
Hi Jorge!

Here you have the descriptions and limitations of the free Lite-library:
http://www.quickpdflibrary.com/free/lite.php
Here you can read how to install the ActiveX-version:
http://www.quickpdflibrary.com/help/getting-started-activex.php

Cheers and welcome here,
Ingo



Posted By: AndrewC
Date Posted: 09 Feb 12 at 5:36AM
The LITE version an ActiveX control only.

1. Register the ActiveX control :  regsvr32 QuickPDFLite0812.DLL  (using a command prompt with  Administrator rights.  ie.  Run As Administrator)

2. In Delphi 2010 , open your project and choose Component, Import Component and import the ActiveX control into you project.  You can either import the ActiveX directly by choosing Import ActiveX and then choosing the DLL file or you can choose to Import TypeLibrary and then load the TLB file located in the Quick PDF Lite installation directory.

3. Add the QuickPDFLite0812_TLB to your uses statement.

4. Use the code below as an example

unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, QuickPDFLite0812_TLB;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
var
  QP: TPDFLibrary;
  ret: Integer;
begin
  QP := TPDFLibrary.Create(Form1);

  ret := QP.LoadFromFile('f:\pdfs\my.pdf', '');
  QP.DrawText(100, 100, 'Hello World');
  QP.SaveToFile('f:\pdfs\out.pdf');

  QP.Destroy;
end;

end.





Posted By: jorgenovoa
Date Posted: 10 Feb 12 at 4:50PM
HI,
I couldnt install the 64bit version.. I follow the steps, and has no error on code but when running app. excpetion raises.. Class Not registered.. I already registereded(64bit) it still raising error..
Win7 64
Regards



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk