At 11:29 AM 1/25/2005, you wrote:
Hi,

The documentation states that the SslReceive and SslRead functions are covers for the NetLibDmReceive function, not NetLibReceive. I guess this means that they can directly read data into a database record.

However, when I call one of these functions with a memory buffer located in the storage heap, PalmSim crashes. The same code works fine if the buffer is in the dynamic heap.

Did I miss something ?

You're using old documentation. See http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/SslLib.html#1103027


The reference to NetLibDmReceive is gone -- it's actually similar to NetLibReceive, so if you want to receive to the storage heap, you have to first store the data in a local buffer, then use DmWrite.


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to