Re: C++ routine from New Era
Posted in 1997
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Billy Wheeler wrote: > > On 28 May 97 at 22:07, M.J. Holley wrote: > > > I need to call a C++ routine from a New Era handler and pass in a > > filename (char(10)). Reading the "documentation" indicates a need > > for some very fuzzy stuff to do this. If I want to call an .exe > > called DOIT and pass in FILENAME : call DOIT(filename) > > > > What needs to be in the C++ code (above and beyond the regular C++ > > code) to take that? Anything special or am I overcomplicating? > > I'm taking a swing here, cos I haven't done this in NE, only in 4GL: > > LET run_string = "DOIT ", filename > RUN runstring > Billy, I've done that exact same thing from NE. Just remember that if you are using a path to use \\\\ for each \\. Bret. > HTW. :-) > > -- > Ciao, > Billy > > Nose to the ground and ear to the grindstone in: Johannesburg, Murder Capital of the World > > GEMINI > May 21 - June 20 > You are quick and intelligent and a thinker. > People like you because you are bisexual. > However, you are inclined to expect too much for > too little. This means you are a cheap bastard. > Geminis are liars, notoriously lousy lovers and > thrive on incest.