Multiprocessing with a COM Server
由于正在看文章,所以一些可见的中文化没有完全做,姑且有能力的坛友,自己看哈So this is for anybody interested in parallel code execution.
And I know I could point out several things already existing, I even did in posts in these threads. I mentioned the existence of ParallelFox: https://
I mentioned the simplest parallel execution possible with RUN /N another.EXE, possibly with parameters.
I mentioned you could run two executables and do IPC - interprocess communication - with windows messages.
我提到过,您可以运行两个可执行文件,并使用windows消息进行IPC(进程间通信)。
I mentioned an approach of Calvin Hsia to allow multithreading and pointed out it has the problem of being data execution, which Windows prevents with data execution prevention - in short DEP.
我提到了Calvin Hsia的一种允许多线程的方法,并指出它存在数据执行的问题,Windows通过数据执行保护——简称DEP——来防止这一点。
And there's more about parallel processing or multithreading with FoxPro out in the internet already, so actually no need to come up with anything new, but I wanted to point out one thing that I think all existing solutions overlooked so far. Making use of an out-of-process COM server as a background process. I'll go into the technical details in one or a few separate posts, this is just the instructions and usage post:
关于FoxPro的并行处理或多线程技术,网上已有大量相关资料,其实无需再赘述。不过我想强调一个现有方案至今都忽略的关键点:
将跨进程COM服务器作为后台进程运行。
具体技术细节我会在后续一两篇独立文章中详细讲解,本文仅提供操作指南和使用说明: