Title: How do I create a Delphi executable which has no GUI?
Write a console application.  Under the program declaration in the dpr set the apptype to console like below...
 
program HelpMapGenerator;
 
{$APPTYPE CONSOLE}
 
 
This will allow you to run from the commandline including text output.  I'm not sure about running reportbuilder components though as I've not done.
 
 
 
Nahum.
 
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]
Sent: Friday, 3 October 2003 10:38 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: How do I create a Delphi executable which has no GUI?

Hi all

I want to call a Delphi executable by shelling out to DOS from a telnet session (in Universe). Since it's a telnet connection, and character based, it won't handle any Windows GUI. I'm wanting to execute a Report Builder report, which normally has the components dropped on a form.

How do I stop a form displaying period - not even for an instant (when executing)? I wonder if a data module would do it? But then Report Builder design is all graphical, with the components on a form...

If any GUI info is received on the Telnet connection, it then just ignores my exe.

Am I trying to accomplish the impossible? (There are good reasons for wanting to run a report this way - i.e. not having to do a ton of coding to move a legacy app into Delphi).

Cheers


    Dave Jollie
    Developer, TOWER NZ IT


(: 09 368 4259
: 09 306 6801
*: [EMAIL PROTECTED]
.: 46 Parnell Rd, Parnell, Auckland

Reply via email to