Page 1 of 1

PostPosted: Sat Oct 19, 2002 6:20 pm
by foo_mark
Did anybody had problems using #resource preprocessor statement?

This is what I wrote:
#define BMPJUMP000 200
#resource BMPJUMP000 "app.bmp"

And this is what I get as error:
Problem @ File \MyDocuments\app.pc Line 5
error occured in #resource statement

I don't know if this is a problem with the Casio E-100, or there is something wrong with the libraries that I have. I checked to see if I mispelled the file, but there wasn't any typo.

PostPosted: Mon Oct 21, 2002 6:13 am
by guy
You need the complete path to the file that you want to embed into your app as a resource. I don't think the compiler merges a default path with the supplied file.

Additionally, I don't know whether the preprocessor does substitutions in a #resource directive. That may be worth checking.

PocketC CE API interface:
PCForm and CE API forum: