C (115/304)

From:Charlie
Date:14 Aug 2000 at 04:52:35
Subject:Re: Problem with a library

----- Original Message -----
From: Alexander Niven-Jenkins <anj@cremlinsoftware.org>
To: <amiga-c@egroups.com>
Sent: Sunday, August 13, 2000 8:08 AM
Subject: ga-c] Re: Problem with a li

> 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>
>
Thanks, it worked a treat.