完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好。正如我之前所写,我遇到一些COM对象的问题需要相当长的时间来执行。
问题是,Vee在同一时间完全死了。我已经解决的解决方案是一个包装器对象,它将与我想要执行的COM对象启动一个单独的线程,立即返回然后在完成时生成一个事件 。 写这样一个对象不应该太复杂,但我想知道是否有人已经完成了它? 以上来自于谷歌翻译 以下为原文 Hi all. As I have written about earlier, I'm facing a problem with some COM objects that takes rather a long time to execute. Problem is, Vee goes completely dead in the mean time. The solution I've com up with is a wrapper object, that would start a separate thread with the COM object that I want to execute, return immediately and then generate an event when completed. Writing such an object shouldn't be too complicated, but I'm wondering if someone has already done it? /Søren |
|
相关推荐
1个回答
|
|
大家好。正如我之前所写,我遇到一些COM对象的问题需要相当长的时间来执行。
问题是,Vee在同一时间完全死了。我已经解决的解决方案是一个包装器对象,它将与我想要执行的COM对象启动一个单独的线程,立即返回然后在完成时生成一个事件 。 写这样一个对象不应该太复杂,但是我想知道是否有人已经完成了它?/ Sren ---您目前订阅了vrf:r***@soco.agilent.com要订阅发送电子邮件请求到“ owner-vrf@it.lists.it.agilent.com“。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf @“ agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Hi all. As I have written about earlier, I'm facing a problem with some COM objects that takes rather a long time to execute. Problem is, Vee goes completely dead in the mean time. The solution I've com up with is a wrapper object, that would start a separate thread with the COM object that I want to execute, return immediately and then generate an event when completed. Writing such an object shouldn't be too complicated, but I'm wondering if someone has already done it? /Sren --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send an email request to "owner-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
|
|
只有小组成员才能发言,加入小组>>
1244 浏览 0 评论
2353 浏览 1 评论
2165 浏览 1 评论
2031 浏览 5 评论
2917 浏览 3 评论
988浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
718浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
818浏览 0评论
1245浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-1 19:05 , Processed in 1.362947 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号