WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: oradba4u on March 20, 2015, 08:12:08 PM

Title: Calling Compiled Programs
Post by: oradba4u on March 20, 2015, 08:12:08 PM
Can someone give me an example, or point me to an article?

Prog1 calls Prog2 and passes parameters

Prog2 needs to return a value (a parameter I assume) back to Prog1


I can do this pretty easy if both files are .wbt files, but how can I accomplish the same thing with compiled programs?


Many thanks in advance
Title: Re: Calling Compiled Programs
Post by: stanl on March 21, 2015, 08:22:31 AM
Probably need a little more informations:

Are Prog1 and Prog2 to be run independently as EXES?  By this I mean, does Prog1 have to validate the existence of Prog2?

Could Prog2 be compiled as a .wbc and called?
Title: Re: Calling Compiled Programs
Post by: oradba4u on March 22, 2015, 07:15:01 PM
The .wbc method works just fine...Thanks

Forgot all about wbc's