Link to home
Start Free TrialLog in
Avatar of TMcSinly
TMcSinly

asked on

questions about console apps

I want to make a console app. How do I create the app so that it has no gui? if i get rid of the form can I still use the nongraphical compents that I would normally just drop onto the form? Also how do I get the app to pick up command line parameters?

thanks in advance for any help
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TMcSinly
TMcSinly

ASKER

well, im writing an app to dummy proof some network admin tasks. theres no need for the app to have a gui since itll most likely be used in scripts.

I suppose I could just not create or show the form and sill use the vcl components. Right? Thanks for your help.

well, im writing an app to dummy proof some network admin tasks. theres no need for the app to have a gui since itll most likely be used in scripts.

I suppose I could just not create or show the form and sill use the vcl components. Right? Thanks for your help.

hmm  TMcSinly,

if you must have access to the win-api, then is a console-app not useable.
then it will be better to create a form and place the vcl-components you need on it and leave the form hidden, while running
or
code a service

a console app is like a dosbox, no access to the win-api,
therefore no usability of vcl-components.

meikl
i see. i was confused then. ill just keep the form hidden. thanks again for the info.