Calling 4gl function from C main
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Is there any way to call a function written in 4gl from a C main? B. -- Please send administrative requests to admin@ASL.CA Brian P. Hampson ASL Analytical Service Laboratories Ltd System Administrator, Vancouver, BC (604)253-4188 ----------------- http://www.ASL.CA/ ---------------------------- I'm not speaking for the company <- They made me say that.
Dead straightforward check out the manual, there's a few very good examples Brian Hampson wrote: > > Is there any way to call a function written in 4gl from a C main? > > B. > -- > Please send administrative requests to admin@ASL.CA > > Brian P. Hampson ASL Analytical Service Laboratories Ltd > System Administrator, Vancouver, BC (604)253-4188 > ----------------- http://www.ASL.CA/ ---------------------------- > > I'm not speaking for the company ?- They made me say that. -- Paul Watson # WF Software Ltd # You are only young once Tel: +44 1436 674729 # but you can be immature Fax: +44 1436 678693 # for ever www.wfsoftware.com #
Brian Hampson wrote: > Is there any way to call a function written in 4gl from a C main? Yes in Classic 4GL, not in Dynamic 4GL. The fglapi.h header and the manual tell you how. -- Yours, Jonathan Leffler (Jonathan.Leffler@Informix.com) #include Guardian of DBD::Informix v0.95 -- http://www.perl.com/CPAN "Windows is NOT a virus: a virus is small and efficient."
Jonathan Leffler (jleffler@informix.com) wrote: : Brian Hampson wrote: : : > Is there any way to call a function written in 4gl from a C main? : : Yes in Classic 4GL, not in Dynamic 4GL. : The fglapi.h header and the manual tell you how. Thanks. I've figured it out now. Not too hard really, just a little tricky remembering to pop and push :) B. -- Please send administrative requests to admin@ASL.CA Brian P. Hampson ASL Analytical Service Laboratories Ltd System Administrator, Vancouver, BC (604)253-4188 ----------------- http://www.ASL.CA/ ---------------------------- I'm not speaking for the company <- They made me say that.