If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix 4gl 7.31

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-23-02, 12:05
gab66 gab66 is offline
Registered User
 
Join Date: Sep 2002
Posts: 2
Informix 4gl 7.31

I have installed the new 4gl 7.31 version and I ran into problems.
I have some c functions that use "curses.c" thru the stdscr structure (eg.: get cursor position). This function doesn'work anymore.
Some ideas about this ?
typedef struct
{
short _cury,_curx;
short _maxy,_maxx;
short _begy,_begx;
short _flags;
bool _clear;
bool _leave;
bool _scroll;
chtype **_y;
short *_firstch;
short *_lastch;
} WINDOW;

extern WINDOW *stdscr,*curscr;

cursor_pos()
{
curx=stdscr->_curx;
cury=stdscr->_cury;
ibm_lib4gl_returnInt2(curx);
ibm_lib4gl_returnInt2(cury);
return (2);
}
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On