From: | Demon Hell |
Date: | 4 Jun 2001 at 23:11:58 |
Subject: | Using libraries |
Hi guys,
I got a small problem I suspect is down to the way I`m using a library. I
converted the mhimasprolibrary.fd to A blitzlib using the fdconvert program,
and all the commands get highlighted and work..
Problem is, when I first call my program from the CLI, the debugger gives me
a "GURU ILLEGAL INSTRUCTION" alert, and stops the program!
But on starting it again, it runs fine.
I tracked the problem down to where my program first calls a command from
the library, so I figured it must be down to the way I opened the library,
using the following line.
libaddr.l=openlibrary_("libs:mhi/mhimaspro.library",0)
(btw, when it crashes libaddr.l is non zero)
I supposed I`ve missed something bleeding obvious, but I got no example code
of using external libraries to hand!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie