Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 3 of 3 total |
EAbort from server procedures |
Wed, Apr 11 2007 2:26 AM | Permanent Link |
Oliver Bock | As mentioned in an earlier post, I'm using DBISAM to provide
asynchronous event notification FROM the server TO the client. I do this with a server procedure call that's executed in an extra thread, and which only returns when an event occurs. My problem is that TDBISAMSession.CallRemoteProcedure raises an EAbort exception if my server procedure doesn't return within 10 minutes. How can I stop or control this? (Of course I can work around it by returning every five minutes, but I'd prefer not to.) Oliver |
Wed, Apr 11 2007 2:51 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Oliver,
<< My problem is that TDBISAMSession.CallRemoteProcedure raises an EAbort exception if my server procedure doesn't return within 10 minutes. How can I stop or control this? (Of course I can work around it by returning every five minutes, but I'd prefer not to.) >> Just make sure that you have an event handler defined for the OnRemoteTimeout event, and just tell it to keep waiting by setting the StayConnected parameter to True: http://www.elevatesoft.com/dbisam4d7_tdbisamsession_onremotetimeout.htm -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Apr 11 2007 8:58 PM | Permanent Link |
Oliver Bock | That's just the trick. Thanks.
|
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |