摘要
VisualC++6.0的 DLL思想和多个视图共享一个数据文档的思想分别应用在程控电源监控程序的开发中。电源的驱动程序封装成动态连接库模式,用户在调用DLL时,不会因破坏驱动程序源代码而损坏电源。多视图共享一个数据文档的思想则可以实现Windows环境下友好的人机交互界面,并且动态更新不同视图中共享的参数值。
The article introduces a console developed with Visual C++6.0 on Windows for a high voltage power supply. The Supply is programmable,0-300V, 500HZ, continuous output. The DLL(dynamic-link-library) packaging for its driver which is developed with Borland C avoids ruining the supply for changing incorrectly its source code. In addition, the application of ideas on muiti-Views in Visual C++ 6.0 can implement friendly interface, and shared data in different Views can be dynamically updated.
出处
《微计算机信息》
2002年第4期29-30,共2页
Control & Automation