Hi !

I have implemented a shared library for Palm OS (using CodeWarrior 7)
and I'm experiencing some problems using data resource files from within my
shared library.

What I'm doing is trying to include some data resource files with Rez, using
a .r file, like that :

read 'DATA' (2000) "thedata.dat" ;

I have used those resource files in a normal application and had no problem.
But when I use those resources with a shared library, it can't find the
resource
when I call DmGetResource('DATA',2000).
The call to DmGetLastErr indicates that "resource not found" ...

Any thoughts on that ??
Is there any extra thing that needs to be done with a shared library in
order to use
some resource files like that ?

Actually this problems extends to any code resource (since a shared library
is a code resource):
I can't load my resource files within a code resource (such as a hack for
instance),
I always get the "resource not found" error ...



Thanks,


Renaud.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to