C (107/304)

From:Alexander Niven-Jenkins
Date:13 Aug 2000 at 16:08:20
Subject:Re: Problem with a library

Hiya Charlie,

On 13-Aug-00, you wrote:

> if(OpenURLBase = OpenLibrary("openurl.library",1))
> URL_Open(urlname,TAG_DONE)

This is the code I ue within SotrmC 3.

if( OpenURLBase = OpenLibrary( OPENURLNAME, 3 ) )
{
URL_OpenA( urlname, NULL );
CloseLibrary( OpenURLBase );
OpenURLBase = NULL;
}

As you can see the only real difference is the URL_OpenA part.

> Ive included the include ie. <proto/openurl.h> and <libraries/openurl.h>

The only include needed is:

#include <proto/openurl.h>

Kind regards...

Alex



Cremlin Software - http://www.cremlinsoftware.org
Founder, lead programmer - ghandi@cremlinsoftware.org
Production, programmer - anj@cremlinsoftware.org