是德科技
直播中

李秀云

8年用户 815经验值
私信 关注
[问答]

如何在VEE/VB中创建一个单独的执行线程?

你好AllThis是一个很长的镜头,但有人可能知道。我们正在使用我们在Visual Basic中制作的ActiveX OCX控件来控制一些硬件。在控件中我们有一个在后台运行的进程来产生节奏音调。
我们使用了计时器控件和它的计时器事件来运行它。
计时器事件会中断vee程序流,但这没关系,因为它不会运行很长时间。我们无法获得可靠的计时,我们希望在后台使用API​​“Sleep”函数进行计时。
进程必须持续运行,而不会中断VEE的执行。问题:有没有人知道或有一个例子,如何在VEE / VB中创建一个单独的执行线程?我们正在使用VEE 6.01 / 3&
VB 6Many thanksAndrewGenesys IBS ---外发邮件经过病毒自由认证。

回帖(1)

颜珍可

2019-11-6 07:17:37
Xcopy我正在寻找一种不同的方法将子目录从测试站计算机复制到我们网络上的另一个位置。
目前我正在使用带有XCOPY命令的执行程序对象。
我将使用Windows 95/98和Windows2000。是否有人使用Windows API的示例?
我在反射器上看到了一个复制单个文件的例子,但是我还没有看到任何会复制子目录的东西。另外,我有兴趣了解更多关于在Vee中使用Windows API的信息?
有没有人有任何建议?Ed ShawATE Design EngineerComtech EFData Corporation2114 West Seventh StreetTempe,Arizona 85281Tel。
480-333-2107Fax 480-333-2161mailto:eshaw@comtechefdata.comhttp://www.comtechefdata.com

以上来自于谷歌翻译


     以下为原文

  XcopyI am looking for a different way to copy a subdirectory from a test station computer to another location on our network. Currently I am using an Execute Program Object with the XCOPY command. I'll be using Windows 95/98 and Windows2000.Does anyone have an example using the Windows API? I've seen an example on the reflector for copying a single file but I haven't seen anything that will copy a subdirectory.Additionally, I am interested in learning more about using the Windows API with Vee? Does anyone have any recommendations?Ed ShawATE Design EngineerComtech EFData Corporation2114 West Seventh StreetTempe, Arizona 85281Tel. 480-333-2107Fax 480-333-2161mailto:eshaw@comtechefdata.comhttp://www.comtechefdata.com
举报

更多回帖

发帖
×
20
完善资料,
赚取积分