Hi,

I too have a problem similar to this.My application runs fine on the device
but gives me the following error when I run it on the emulator"

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

Whethe HTTP or HTTPS it runs fine on the device but it doesn work on the
POSE.

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 help me out with this.

Venu


 



--- In [EMAIL PROTECTED], Ryan Dugan <[EMAIL PROTECTED]> wrote:
> Does anyone know if this issue was ever resolved (i don't really see any
> 
> answers in the posts - sorry if i missed it.)  I seem to be having the
> exact
> same problem - http requests work fine, but https requests dump
> somewhere in
> the INetLibSockHTTPReqSend routine (NOT the URLCrack routine, as has
> been
> suggested) with some 'read from unallocated chunk' error.  I've tried
> loading
> the prc onto a real device to make sure that it's not just POSE, and
> while
> I don't get the error, nothing happens (the app continuously tries to
> connect,
> but no traffic is ever recieved by the server - leading me to believe
> that no
> data ever leaves the palm.)
> 
> One further note, I noticed that after URLCrack, the port member of the
> INetURLType is incorrect (with a value of 44, rather than 443 - which
> seems to
> indicate that some string was truncated or something.)
> 
> Sorry, i haven't gotten the OS code yet, so i haven't really been able
> to
> examine these problems...  Anyone else know what's up?
> 
> thanks,
>  --ryan
> 


-- 
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