Delphi 7 and Crystal Reports 10 VCL problem - Error:512 Print Engine not opened (CRPE32.DLL)

Posted on 2004-11-10
Last Modified: 2008-01-09

We are trying to implement Crystal Reports 10 VCL in a Delphi 7 application.

All is ok when Crystal Reports 10 is fully installed on the machine.

But when we try to setup the application at a customer (who of course
hasn't the complete Crystal Reports environment installed) we cannot
run the Print Engine (CRPE32.DLL)

--> Error:512 Print Engine not opened

All runtime files are copied according the documentation:

was actually CRPAIG32.DLL), CTL3D32.DLL & IMPLODE.DLL are in the system32
folder of Windows.

Even Crystal Report's OWN DEMO-program (CrystalVCL.exe)  gives the same error!!

Please can anyone help me??

Marc (Digi Belgium)
Question by:DigiBE
    LVL 14

    Expert Comment

    Maybe one of the crystal dll files needs to be registered using regsvr32?

    How did you deploy it anyway? I believe Crystal Reports provide Merge Modules for Installers to install and set all the necessary dependancies.
    LVL 14

    Expert Comment

    I believe you need to call regsvr32 crpe32.dll to register the DLL in the target machine.
    LVL 5

    Expert Comment


    If its just one client, install Crystal reports then remove the Crystal Reports Directory.

    This will remove the executables but leave the redistibutables behind.

    Seagate used to give a trial version of ver 7.0.  We used to install that all over the place and dump the executables or even just let the trial expire to avoid having to build a proper setup for the piece of junk (powerful it is - nice it isnt...)

    Do they do a trial of Version 10?


    Expert Comment

    Make certain you have Crystal in your interface uses section

      UCrpeClasses, UCrpe32;

    You may want to check if the print engine is loaded and force loading it if no handle is present.

     // Call this just before starting the print routines
     // Crpe1 is Crystals default instance name you may have to change it accourding to how you made reference
     // Load Report Engine if not loaded
       if (Crpe1.CrpeHandle = 0) then

    You may also want too make sure the Crystal DLL's ( deployed ) path is in the path settings or same folder as the program exe.


    Accepted Solution

    PAQed with no points refunded (of 125)

    Community Support Moderator

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now