home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.handhelds
- Path: sparky!uunet!uunet.ca!geac!r-node!marc
- From: marc@r-node.gts.org (Marc Fournier - Sys Admin)
- Subject: PSION HC-100 with Sibo C development - HELP! :)
- Message-ID: <1992Jul26.215145.4864@r-node.gts.org>
- Organization: R-node Public Access UNIX System (416-249-5366) 24hrs.
- Date: Sun, 26 Jul 1992 21:51:45 GMT
- Lines: 37
-
- Hi...
-
- I'm trying to write a menu interface to control a printer.
- We are using an HC-100 as the controller and we are programming it
- using the C development kit.
-
- The problem is...how do I mix 'graphics' with normal
- text? I'm writing a scroll bar menu that will give easy access
- to lower levels of the program.
-
- I am opening the window's using wStartup();, and as soon
- as I issue a p_printf(); it crashes...which I understand since I should
- be using gPrintText(); to write to the window. Fine. But, I would
- like to have them choose an option from the window and then close
- the window.
-
- Now, according to the book, wDisconnect(); should do this,
- correct? So, for every wStartup();, I throw in a wDisconnect();
- after it is finished. Problem though...
-
- I start at top level, choose the first option, it presents
- me with another menu. I choose the first option there and it outputs
- the text (non-window), and, after hitting return, it jumps back to
- the first screen. I can then choose the first option again, the first
- option in the next level, get my text (Again!) and then, after
- pressing return, it crashes. panic error 102 (illegal opcode in
- message). Any ideas? am I too vague? It works the first time,
- just not the second.
-
- Thanks...
-
- Marc
- --
- Marc G. Fournier | R-node Public Access Unix running UnixBBS 1.03
- Etobicoke, Ontario | 416-249-5366 24hrs 7 days/week network email
- voice: 249-4230 | shell/feed accounts available 1800+ newsgroups
- marc@r-node.gts.org | Telebit T3000/SupraModem2400/Cardinal 2400 FREE
-