Thanks Ben,

I did that, but getting a null handle

recordH = DmGetResource(sysResTSound,mySound);
soundP = (SndPtr) MemHandleLock(recordH);

recordH is returned NULL and crashes..

why so ?

Jagat

----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Saturday, March 25, 2006 1:26 AM
Subject: Re: problem adding rsrc to mcp project


String lists and wave files work in RCP files.

See http://cvs.sourceforge.net/viewcvs.py/*checkout*/pilrc/pilrc/doc/manual.html

Specificially, look for STRINGTABLE and DATA as ways to pull in your
info.  The "Wave" resource in Constructor just copies the data from
the wave file into a resource and gives it a specific type.

On 3/24/06, Palmman <[EMAIL PROTECTED]> wrote:
Hi Ben,

Can you please explain how I can use both the resource files in one project ? I used the wizard to create one with rcp file. Now I need stringlist and wav file support. So I badly need rsrc file to be added to the project

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


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

Reply via email to