Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"Christian Hernoux" — — source: Informix-list mailing list archive (1991-1998)
I have a C function and I want to display a windows.
How can I do this with C code.
For example the 4GL code may be :
DEFINE answer CHAR(1)
OPEN WINDOW w_error AT 10,15
WITH 5 ROWS, 50 COLUMNS
ATTRIBUTE (BORDER, PROMPT LINE LAST)
DISPLAY " Erreur interrogation BDO " AT 1,1
ATTRIBUTE (REVERSE)
PROMPT " OK" FOR answer
CLOSE WINDOW w_error
And the C or EC code ?
I find the :
$ char answer [2];
_efiwopen(); ?
$ display " Erreur interrogation BDO " at 1 , 1
attribute ( reverse );
$ prompt " OK" for $answer;
$ end prompt
_efwclose(); ?
What is the syntax of the function _efiwopen() and _efwclose() functions ?
Regards.
Amicalement Net.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.