Programming of Multi-threading Serial Communication Based on Win32 API
Li Gang · Modern Electronic Technique · 2005
In industrial control,they often need to carry on the communication between the PC and singlechip computer,and serial communication is the most frequently used communication means.This paper introduces some API(Application Program Interface) functions which can realize serial communication,and multithreading technology,message response mechanism under Win32(Windows9x/NT/2000).Provide a method of implementation of highefficiency serial communication which use API function and multithreading technology with Visual C~++6.0 under Win32.Finally,this paper realize a serial communication program which high[CD*2]efficiency and multithreading on PC in Printing machine Control system.And also gives some codes of serial communication.