摘要
分析了基于Windows95/98平台的串行通信程序开发一般方法。在此基础上进行了深入的讨论,用C++Builder4.0实现了基于多线程技术和消息响应机制的异步串行通信,给出了设计的具体步骤和详细解释。并针对使用多线程容易产生的问题,给出了相应的解决办法。
It was firstly analyzed the normal method for serial communication programming based on Windows 95/98. Onthe basis of deep analysis, it was accomplished the designing of ASC (asynchronous serial communication) using multithreadingtechnique and message-responding mechanism, and given detailed processes and explanations at the same time. Furthermore,it was put forward corresponding measures to solve the problems of using multithreading technique.
出处
《铁路计算机应用》
2003年第9期10-12,共3页
Railway Computer Application