Hi,

I am trying to connect to the server using the Inet library .My applications
runs perfectly well on the palm device downloading the data from the
server.But when I try to test the same on the emulator I get an error
stating that:

 " .. 1.0 has read directly from an unlocked memory chunk."

 I was able to reach the point in my code where the error is taking place
but I do not seem to understand where I am going wrong.

The error is taking place at the point when the following
function(INetLibSockHTTPReqSend) is being invoked from the INetGo routine:


if (!error)
{

     error = INetLibSockHTTPReqSend(inetInfoBlock.inetRefNum,
                                           inetInfoBlock.inetSockH, 
                                           (MemPtr)dataP,
                                           dataP ? StrLen(dataP) : 0, // 0
if GET
                                           timeout);
                                     
}  

Can some one please help me with this.

Thanks
Venu
         

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

Reply via email to