"Todd Niec" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is it possible to use DmWrite() on ordinary memory?  I have cases where
> buffers might be stored in "ordinary" memory (stack, heap, or static
> globals) or might be in a record in a file and I would like 1 method
> to write to both of them.

Try it and see.  My suspicion is that is will probably fail, as DmWrite is
designed to stop you from writing to the wrong place etc, but you never
know...

Why can't you just keep track of the type of memory yourself, then use the
appropriate DmWrite or MemMove calls? Even if DmWrite happens to work, it is
always going to be slower than MemMove...



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

Reply via email to