I'm using 10818. So it is a small test code based on template.
The call to
img_font = agk::LoadImage("media/fonts/quote_font.png");
always return 10001 (or something like that - I don't have access to the machine right now)
I forced a wrong file name/path and it still shows me the same value.
I first noticed that when I couldn't see the font being loaded although it was showing some "dirt". After checking the code I saw I had a typo in the file name.
I also was forcing img_font to be zero before calling the function just to be sure.
Thanks
----------
Paulo
http://c64programming.wordpress.com