The message - driving and multitasking structure of Windows is analytal in detail. The existing defect of Windows system in real - time field is indicated. Considering the characteristics of dynamic link libraries (DLL), a way to design a real - time system in Windows. environment is given by use of DLL in the software.