C (227/257)

From:
Date:23 Feb 2001 at 14:15:01
Subject:RE: iff.library

>Hi Filip

>> I'm using stormC compiler from amiga dev CD 2.1.
>> I try to display iff picture with function in iff.library. Included
examples are
>> clear and easy but i'm not able to compile it, linker always says that
"cannot
>> found IFFBase: hint _main".

>Sounds like you normally use the library auto-open option that I think (??,

>can't remember) Storm has. But obviously, this only works for libraries
that it
>has been set up for.

auto-open?
I never heard about such feature, what is it exactly?

>Have a look in the proto/#?.h file for iff.library - copy the line which
would
>look something like:

>extern struct Library *IFFBase;

>as a global variable in your source file and remove the extern part.
Remember
>to add some code to your program to open and close this library too.

I tried it but it did not work. Of course i have there code to open and
close this library. After some fiddling around I realize that if I just open
and close this library everything is okay, but when I use some of functions
of this library, linker always stops at this strange bug.

Is there another solution?

thanks
Filip

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://us.click.yahoo.com/kWP7PD/pYNCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->

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