Blitz (23/193)

From:Rick Hodger
Date:5 Aug 2000 at 10:33:58
Subject:Re: Opening libs and devices

I watched as Daniel Dundelski hammered "Opening libs and devices" out on
their keyboard...

> Hello,

> I have troble with closing librarys. I can open library (OPenLib_),
> but I can't close it. What is the library number in CloseLib_ command???
> Please help!

A quick example (needs amigalibs.res)

*my.Library=OpenLibrary_("my.library",0)
If *my<>0
NPrint "my.library v",*my\lib_Version,".",*my\lib_Revision
CloseLibrary_(*my)
Else
NPrint "Unable to open my.library!"
EndIf

> In which way I can open and close .devices ie. ahi.device? (I want
> just check if it is installed in system)

Not sure, devices are a lot more complicated....I try to stay away from them
:)



+-------------+-----------------------+----------------------+
| Rick Hodger | rick@simpleftp.co.uk | rick@pagan-games.com |
+-------------+-----+-----------------+----------------------+
| *SimpleFTP v2.70* | http://www.simpleftp.co.uk |
+-------------------+---------+------------------------------+
| /Founder of Pagan Software/ | http://www.pagan-games.com/ |
+------------------------------------------------------------+
Around here, to be nuts is normal, to be sane is stupid.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie