Printing from an NT service
Hi there,
I need to be able to print a report from within an NT service (RB5.56 D5).
The trouble is that although the report prints OK I get access violations
when freeing the report component because ReportBuilder creates its
components using Forms.Application as the owner.
Also ReportBuilder seems to call Application.ProcessMessages even if I set
ppReport.EnableProcessMessages := False;
Unfortunately a service uses a different Application component.
Does anyone have any ideas on how to get round this ? Perhaps ReportBuilder
V6 works differently ?
TIA,
Andy Leiper
IET Ltd
I need to be able to print a report from within an NT service (RB5.56 D5).
The trouble is that although the report prints OK I get access violations
when freeing the report component because ReportBuilder creates its
components using Forms.Application as the owner.
Also ReportBuilder seems to call Application.ProcessMessages even if I set
ppReport.EnableProcessMessages := False;
Unfortunately a service uses a different Application component.
Does anyone have any ideas on how to get round this ? Perhaps ReportBuilder
V6 works differently ?
TIA,
Andy Leiper
IET Ltd
This discussion has been closed.
Comments