Hi,
I have an application which must handle various currencies. I went through the sample
code with the Code warrior 7.0 installation of the expense application. I tried to do
something similar. The following was the code tried.
//wrdListRscType resource
#define idCurrencies 5000
MemHandle currencyH;
UInt16* Currencies;
currencyH = DmGetResource(wrdListRscType, idCurrencies);
ErrNonFatalDisplayIf(currencyH == NULL, "No currency list source");
Currencies = (UInt16*)MemHandleLock(currencyH);
I am relatively new to Palm development and I do not know what this wrdListRscType
resource is or how it is created. When I try this code I get 4340 error at the cast
assignment to the pointer Currencies. Please tell me what to do?
Also if there is any book or webpage or any other resource that details about the
resource handling, please tell me about it.
Thanks,
Best Regards,
Joby
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/