home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / handheld / 1744 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.9 KB  |  47 lines

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