C (170/304)

From:Tim Hanson
Date:18 Aug 2000 at 15:33:38
Subject:Re: Problem with a library

Hi Charlie
Charlie wrote this on 13-Aug-00 at 22:52:37
> Hi,
> This may be something stupid but here goes. This is a code segment from
> my program
>
> if(OpenURLBase = OpenLibrary("openurl.library",1))
> URL_Open(urlname,TAG_DONE)
>
>
> During compilation I get a link error saying "Undefined symbol URL_Open.
>
> Ive included the include ie. <proto/openurl.h> and <libraries/openurl.h>
>
> Im compiling it using DICE.
>

You need a pragmas include for the openurl.library. Use FDtoPragma from
DCC:bin to create it (unless the archive comes with one) then #include it.



Tim Hanson,
by the River,Canterbury, Kent.
Amiga A1200T,`040/25,603e/160,32MB Fast,BVisionPPC,
8.4GB IDE HD,ZIP SCSI,RENO x2CD SCSI,Pace 56K
Don`t waste your time by visiting
http://www.sinister67.freeserve.co.uk