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.

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".
-- 
Glenn Ford
National Library of Medicine
Bethesda, MD. USA


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

Reply via email to