Print Page | Close Window

Crystal report 11 Active x Report Viewer

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=236
Printed Date: 28 Apr 2024 at 10:34pm


Topic: Crystal report 11 Active x Report Viewer
Posted By: delphige
Subject: Crystal report 11 Active x Report Viewer
Date Posted: 22 Feb 2007 at 1:37am

Hi,
     I got a problem showing an application containing crystal report - CRViewer component invoked through

Createprocess call.

I have a Delphi application which shows a report using Crystal report Active-X  Viewer component and prints it

automatically.
Iam invoking the application from another Delphi DLL through Createprocess windows call
Iam waiting for the Process to complete Infinitely using Waitfor singleobject call.
The report application is invoked and it is in the Windows Task Manager but it is not shown nor the report is

printed
The calling application gets struck in the Waitfor singleobject call - waiting for the report application to end.
Thus the overall process gets struck.
When i end the process of the report application through windows task manager the process continues

When i use Crpe component this doesn't happen but when i use Crystal report 11 Active - X Viewer component this

happens.

This also works fine if i debug through Delphi IDE

Any suggestions


Thank You

jee



Print Page | Close Window