You can use 'MemMove' function if the data is in dynamic heap memory.
If the data is in data heap try using 'DmSet' or 'DmWrite' functions.
Refer Palm OS Reference.pdf for details
Ritu Chawla wrote:
Hi ,
Is their any command in palm to do memcopy.
I need to copy complete structure (Moveable chunk) .
Here is the sample structure
typedef struct audio_setup
{
MemHandle hLangVersion; //char*
MemHandle hAudioTestArray; //struct audio_test *
Int32 nCurrentAudioTestValue;
MemHandle hAudioChannelTrimPort; //struct audio_channel_trimport*
MemHandle hPinkNoiseOrReferenceTone; //char*
Int32 nCurrentAudioChannel;
UInt16 nAudioTestArrayCount;
}AUDIO_SETUP;
rgds,
Ritu
--
Laxman Prabu M
Insoft Chennai,
6, L.B. Road,
Adyar, Chennai - 600 020.
Tel : +91- 44 - 446 - 4292
+91- 44 - 446 - 8500
It's nice to be important, then important to be nice.
DISCLAIMER:
------------------------
Information contained and transmitted by this E-MAIL is proprietary to Insoft.com pvt.ltd.
and is intended for use only by the individual or entity to which it is addressed and may
contain information that is privileged, confidential or exempt from disclosure under
applicable law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a person responsible for delivering the information to
the named recipient, you are notified that any use, distribution, transmission, printing,
copying or dissemination of this information in any way or in any manner is strictly
prohibited. If you have received this communication in error, please delete this mail
& notify us immediately at [EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/