C (246/257)

From:
Date:26 Feb 2001 at 12:51:18
Subject:Re: iff.library

Hello Shinda

On 23-Feb-01, you wrote:

> This error is occuring sincce you do not open the libraries in your
> code. You are assuming the compiler will do this for you, which it
> does for some OS libs, but I think this is bad practice.
>
> To fix the problem you need
>
> struct Library *IFFBase;
>
> and then in the begining of your code you need,
>
> IFFBase = OpenLibrary("iff.library, 37L);
>
> and at the end a
>
> CloseLibrary(IFFBase);
I have done so testing with iff.library myself, just to put a simple ilbm
picture to a screen. I could post the source if you want? It's not big,
about 1,5 kb

Regards



Groeten,

Joris Kempen - webmaster
visit www.detrekkers.com

I have made this letter longer than usual because I lack the time to
make it shorter.
-- Blaise Pascal

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/