View Single Post
Old 09-02-2003, 12:03 PM   #3 (permalink)
kel
WARNING: FLAMMABLE
 
Location: Ask Acetylene
Have your program idle

and periodically check in to see if the file has been written and is available... put a special marker at the end of the file.... hopefully the file won't be to long. If it is going to be long then create a 2nd file @ completion and put the marker in there. Don't forget to implement reasonable timelimits and retries in case the C++ program fails.

There are options for making the two programs communicate... using .NET, you can basically import all the C++ code and convert the main into a function and simply return a data structure with the stuff you want. But getting .NET working isn't fun :-(. It is however the most elegant solution.

I don't know all the other mechanism that exist for transferring data and objects between programs, but they exist.
__________________
"It better be funny"

Last edited by kel; 09-02-2003 at 12:12 PM..
kel is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46