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