First off ben - would you prefer I post POL specific questions here or on the POL forum. I am not sure where Metrowerks is doing their support for this.
The POL forum will be frozen soon, but hopefully will be restarted after that.
Now to the issue:
I do a netlib.Open(). Works fine..
I then make a socket like so: CNetLibClientStream sock(&nlib, netSocketTypeStream, netSocketProtoIPTCP, HostName, 80, bufferSize);
I setup the input stream like so: sock << strInput;
I then receive/read: ErrTry { sock >> strResponse; } ErrCatch(inErr) { // do something }ErrEndCatch
99% of the time I never have a problem.
But that 1% of the time (and only on a palm m515) I get: fatalAlert: ErrorMgr.c, Line:207, ErrThrow called without a pending ErrTry
Yet I had a ErrTry around the socket stream read?
Any clue what I am doing wrong?
Yes..it's happening inside the "sock >> strResponse".
no idea... I don't like ErrThrow/ErrTry, since they aren't C++ exception-based. Is this happening in the NetLib code or back in the POL code? You might want to setup diagnostic code using ErrExceptionList to see if your handlers are still in place.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
