I'm having several issues using the web transfer object.
The most significant one is this. When callbacks are suspended in the apl session, if there is an outstanding asynchronous callback (from ASendObject) that therefore can't fire, and you close the apl session, it triggers an application error with the message 'the intruction at [some hex] referenced memory at [some hex]. The memory could not be "read"'. This situation is not uncommon the way my company uses APL and it basically prevents me from implementing asynchronous sends as a potential solution to my earlier post (about APLWebservices locking up b/c of too many requests). I'm using APL5.0, Windows 2000 professional, and I've tried the newest webtransfer object version 1.1.1661.
The second issue is also related to asynchronous sends. I see this error regularly in the callback:
error in timeout before dispose: System.NullReferenceException: Object reference not set to an instance of an object.
at APL2000.Utils.WebTransfer.TransferInfo.Dispose()
at APL2000.Utils.WebTransfer.WebTransfer.TimeoutCallback(Object state, ElapsedEventArgs e)
This seems to occur most often when the callback fires and there is nothing else on the stack but the callback. Sometimes when this happens there appears to be a pointer(?) in xReturnedObject, like 161019684 or 161216420.
The third issue is that either the webtransfer object or APLWebServices occasionally (maybe 2% of the time, but that amounts to several thousand in a day) loses the object I send with SendObject or ASendObject. Whatever function (using rarg specified as binarywrapl) I am calling on the server will trigger, but the right argument will be an empty vector instead of the object.
I'm using the newest desktop version of APLWebservices 1.5.1648
As always, thanks for any help.