EVC版将串口操作封装为一个类,类中使用线程来持续接收。这样,直接用回调函数就可以在主程序中进行实时接收显示。开发其他的程序可以直接复制使用这个类。 PC版可以在VC6.0下编译,大体和EVC版相同。 VB.NET版来自微软的例程,做了修改,使用多线程进行的处理。在VS2003下编译调试通过。 C#版依据VB.NET做成,使用接收线程持续接收!-EVC serial version will operate Packaging for a class, class use threads to receive continued. Thus, the direct use of a callback function can be carried out in the main program to receive real-time show. Development of the other procedures can directly copy the use of this category. PC version of the compiler under VC6.0, roughly the same version and EVC. VB.NET version from Microsofts routine, doing a revision, the use of multi-threaded processing. Compiling under the VS2003 through debugging. C# version based on VB.NET cause, the use of threads to receive continuing to receive! 下载
|