toby.Harman said:
You could try using
INPUT-OUTPUT THROUGH OS-SILENT.....
This will rely on STDOUT etc. You will only be able to invoke a routine with input parameters and read STDOUT.
Otherwise I think you will have to build the C library into Progress. See the External Programming Interfaces guide for more details...
Enjoy!
OK now that im working on this Im trying to to get a parameter from a c program.
def var returnCode as char.
def stream io.
xmltext = "paremeter im passing".
input-output stream io through
/opt/hd/ca/trend/eaiapps/bin/MQPutMessage
value(xmltext) unbuffered .
put stream io returnCode.
pause.
set stream io returnCode.
pause.
disp stream io returnCode.
pause.
input-output stream io close.
display stream io returnCode.
Im not geting any return code from the c program am I doing something wrong?
Please call me at 214 454 8440 or email me at
vkiv@hotmail.com
and i will call you then?
Best regards,
Tim Kiv