Ok got it to work!
1. actually needs Pilrc to make the .r added to the project (from .rcp)
2. the File mapping needs to be changed for .r, otherwise it is ignored by the compiler
Axel Bernard wrote:
Yes you got it, actually not a bit of a resource is linked!!
Well, I followed the previously given advice to add the ".r" file to the project ; it seems it is not enough?
By the way, there is a .c previously included in the project which says
#include <BuildRules.h> char *AppResourceList[] = { ":Rsc:"RESOURCE_FILE_PREFIX"myappli.rsrc", "" };
which was included previously when I used .rsrc file from constructor.
- Should I modify this file ? - Is there any tip to get the manually described resource .r linked?
Please feel free to ask if my explanation is not clear, I'd like to settle this quickly
Thanks a lot.
Ben Combee wrote:
At 09:59 PM 10/22/2003, Axel Bernard wrote:
In order to work manually on resources, i.e. not using Constructor, I tried to recompile the same project using source files :
- download one of the rsrc->rcp tools (Pages of metrowerks) to get source files
- get my .r , include and bmp files
- recompile
It always gives the same result:
"Appli called SysFatalAlert with the message: MemoryMgr.c, line:4340, NULL handle".
And, for some reasons, the icon is the default one (not the BMP file).
Get a copy of PRC Explorer from www.palmgear.com. Use it to look at your PRC files on the desktop machine. Check to see that all the resources you want are actually being linked into your application.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
