home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
varia
/
dvc
/
bonus
/
openlib.txt
< prev
Wrap
Text File
|
1997-08-20
|
2KB
|
55 lines
$VER: OpenLib.Txt 0.2 (20.8.1997) #TEXT © Msi Software
OpenLib v0.2 - A tiny tool to open and get lib version (w/autoflush)
Usage: OpenLib <libname>
Options: NOFLUSH (keep library in memory)
This is the output show for a library.
Library: xxxxx -> the library opened
Version: xxxxx -> version.revision of library
OpenCount: xxxxx -> how many times the library is open.
OpenLib is also counted,
so a count of 1 would mean only OpenLib :-)
ID String: xxxxx -> version string
If you use a comand like this: "OpenLib >NIL: iffparse.library NOFLUSH"
This will open the lib, no text is displayed
and the lib is closed but not flushed from memory.
So it works like a preloader for libs.
If you do not use the noflush option,
then the lib will be flushed right after closing it.
After all, who wants to check 50 libs and having all of them
just sitting in your memory afterwards doing nothing :-)
Using OpenLib to check the version of a library gives a
100% correct answer.
But obviously, if the library is BAD then even OpenLib may fail.
This is the reason why you are shown the VersionID string as well.
So if you don't trust DVC, Version or VersionWB to be correct on a certain
library, then use OpenLib to doublecheck.
BTW! DataTypes are also libraries, as mostly everything else in Sys:Classes/
Thus OpenLib will work on those :-) And any custom libs like MUI etc.
You can even check libraries in Kickstart ROM,
and you can use a filepath for custom libs,
or libs not stored in the LIBS: path etc.
NOTE! This is a bonus program included with the DVC package.
It is small, and I have found no faults of any kind.
But should it mess up your system, don't blame ME.
It's a take it or leave it offer :-)
This program is Freely Distributable FreeWare,
and may be distributed seperate from DVC,
as long as this text is together wth OpenLib.
But it will be looked upon as an unofficial copy,
so don't blame me if an unoffical copy cause you trouble :-)
© Msi Software 1997 --- M s i S o f t w a r e ---
"Roger Hågensen <emsai@online.no>" EmSai Galactica Software Dept.
"http://www.sn.no/~msi/index.htm"