| From: | |
| Date: | 23 Feb 2001 at 21:33:31 |
| Subject: | Re: iff.library |
Filip wrote:
> Yes, exactly, I am trying to display iff picture and I try
> iff.library and guigfx.library and there is linker error "cannot
> found IFFBase: hint _main" respective GuiGFXBase.
> So I guess that i will got this error with every library that is not
> included in amigaOS.
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);
This should fix the problem.
BTW why not use datatypes to load the image?
Shinda
------------------------ 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/