ADO连接事件'ExecuteComplete'不会使用'adAsyncExecute'标志触发 [英] ADO Connection Event 'ExecuteComplete' does not fire with 'adAsyncExecute' flag

查看:374
本文介绍了ADO连接事件'ExecuteComplete'不会使用'adAsyncExecute'标志触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试捕获'ExecuteComplete'ADO Connection事件。  当我不异步运行Execute时会触发它。  但是,当我异步运行时(使用adSyncExecute标志),ExecuteComplete永远不会被触发。  (WillExecute
确实如此。)

I'm trying to catch the 'ExecuteComplete' ADO Connection event.  It fires when I don't run the Execute asynchronously.  However, when I run asynchronously (using the adSyncExecute flag) the ExecuteComplete never gets fired.  (The WillExecute does though.)

这只是一个错误吗?  或者我是否误解了事情?

Is this just a bug?  Or am I misunderstanding things?

如果保持界面响应等的唯一方法是将我的执行包裹到线程中,那么ADO事件似乎没什么价值。

There seems little value in ADO events if the only way to keep the interface responsive etc. is to parcel off my Execute into a thread.

谢谢!

Pete

软件更新向导的创建者...添加更新使用一行代码将Web添加到您的应用程序中!

Creator of the Software Update Wizard... add update over the web to your app with a single line of code!

推荐答案

错误是什么?


这篇关于ADO连接事件'ExecuteComplete'不会使用'adAsyncExecute'标志触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆