home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / acorn / 10447 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.5 KB

  1. Path: sparky!uunet!mcsun!uknet!vision!jmp
  2. From: jmp@visionware.co.uk (John Pullan)
  3. Newsgroups: comp.sys.acorn
  4. Subject: Re: Customising RISC_OSLib, BETT 93
  5. Message-ID: <1993Jan22.092516.5766@visionware.co.uk>
  6. Date: 22 Jan 93 09:25:16 GMT
  7. References: <1993Jan20.171035.4653@westminster.ac.uk>
  8. Sender: news@visionware.co.uk (News Admin)
  9. Organization: VisionWare Ltd., Leeds, UK
  10. Lines: 26
  11. X-Newsreader: Tin 1.1 PL5
  12.  
  13. Tom Kirby-Green (gpcec@westminster.ac.uk) wrote:
  14. : Calling RISC_OSLib users...
  15. :     Is it ok to mix and match when using RISC_OSLib? For instance
  16. : can I replace...
  17. :     wimpt_init("LegoCAD");
  18. :     ...with my own ( that lets me pass the messages I'm interested in ).
  19.  
  20. Well, I had a look at doing this and gave up as being too risky. I
  21. wrote my own routine to register my app as being 3.10 aware, i.e set up
  22. R4 correctly for SWI wimp_initialise. that worked ok. The probelms
  23. came when I started using the xfersend_sendbuf() function which calls
  24. wimpt_gettask (or whatever its called ). Since I hadn't called wimpt_ call
  25. to register my app the task id was not set up in the wimpt module and 
  26. the application crashed. I suspect that if you are using RISCOS Lib then 
  27. you have to build things on top of it and not replace things.
  28.  
  29.  
  30. --
  31. John
  32. -------------------------------------------------------------------------------
  33.           VISIONWARE LTD, 57 Cardigan Lane, LEEDS LS4 2LE, England
  34.     Tel +44 532 788858.  Fax +44 532 304676.  Email jmp@visionware.co.uk
  35. -------------- "VisionWare:   The home of DOS/UNIX/X integration" -------------
  36.