I have a big problem in my app. When I connect to internet using RGenericAgent::StartOutgoing I first check if there already is an open connection, using RGenericAgent::Progress, and check the returned TNifProgress value for EConnectionOpen (if no connection I start one).
Problem is, a lot of the times Progress fails to detect that there is an open active connection there already, which results in StartOutgoing just hanging, doing nothing. I've got a timer in my active object, and it times out every time this happen. The iStatus has not been updated, even when it's been sitting there for 2 minutes.
Has anyone else seen this problem? Why would Progress not detect that there already is an open connection?
I'd be most grateful for any info!