calling a 4GL routine from C socket server ?
Posted in 1997
Kire Prostizenovski — — source: Informix-list mailing list archive (1991-1998)
How would I be able to call a 4GL program from a C program. We have a socket server process written in C, and would like to pass parameters to a 4GL program which will do it's thing and return the result. Can data be passed to the 4GL program through named pipes, or am I on the wrong track ? I was thinking of passing parameters on the command line to the 4GL; say fglgo testprog.4go <parm1> <parm2> ... But how would I capture the returned result in my C program ? Where a heap of data needs to be passed, we would pass the filename of a named pipe where the data has been written to. Your help would be most appreciated. Regards, Kire Prostizenovski.