Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!sol.ctr.columbia.edu!caen!sdd.hp.com!wuarchive!uunet!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga.programmer Subject: Re: Testing for 1.3 VS. 2.0 Message-ID: <918@cbmger.UUCP> Date: 21 Feb 91 13:56:51 GMT References: <1991Feb20.234836.1@happy.colorado.edu> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 13 In article <1991Feb20.234836.1@happy.colorado.edu> kskelm@happy.colorado.edu writes: > > What is the simplest way for a program to automatically detect whether >it is running under 1.3 or 2.0? Just do an OpenLibrary("graphics.library",36). If it fails (==0) then you run pre-2.0. This library should be in Kickstart ROM on every Amiga model. (I hope also in future? Should one better choose exec or dos library?) -- Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk