> Quick and easy question,
>
> What is the best way to send a varible from one app to another. Say a
> float.
>
> The sending app is a console app.

Quick and dirty answer:  Use a disk file!  If the apps are DB driven, use a
DB field.

If you have a message loop (by default console apps don't), you can also use
the WM_COPYDATA message.

If you want to get more sophisticated, use LPC, RPC, TCP/IP, etc.

If you are more adventurous (and have plenty of time to kill), try COM,
CORBA.

You ought to pick a solution that allows you to scale appropriately - eg. if
you only ever need to pass a double, then the quick and dirty methods are
fine.

Hope this helps.
Dennis.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to