Page 1 of 1

exchange data

PostPosted: Sun Oct 21, 2007 7:44 am
by Otto
What is the best way to exchange data between two running FWH programs?
Thanks in advance,
Otto

Re: exchange data

PostPosted: Sun Oct 21, 2007 8:34 am
by Enrico Maria Giordano
A file? TCP/IP (look at sockcli.prg and sockserv.prg)?

EMG

PostPosted: Sun Oct 21, 2007 11:23 am
by Otto
Hello Enrico,

I have a billing software and a customer administration software.
If I need a new customer in the billing software I have up to now a function inside the billing software to add a new customer.
But I think it would be easier to call the administration software and add there the new customer and then to have the data inside the billing software.
Regards,
Otto

PostPosted: Sun Oct 21, 2007 3:39 pm
by James Bott
Otto,

>But I think it would be easier to call the administration software and add there the new customer and then to have the data inside the billing software

Why not just compile the add customer routines from the customer software into the billing software? Then you can add a customer from inside either program.

James

PostPosted: Sun Oct 21, 2007 10:20 pm
by Otto
Thank you for your answer, James.
regards,
Otto