摘要
利用VC++6.0对Virtools进行二次开发,实现了网络监控功能,即一台监控机通过网络对另一台或两台操作机操作过程进行实时监控。采用阵列作为两款软件通信的接口,Virtools将每个文件的名称、零件的名称、零件的位置和方位等参数写到阵列中;在VC++6.0中,利用相应的SDK函数进行读取阵列中的参数,通过Windows Socket将相应文件和零件的参数传递到监控机,在监控机上通过界面编程实现网络监控。
In this paper,carry on the secondary development to Virtools through VC++6.0,realized network monitoring,in other words, the operation of one or two computers can be real-timely monitored by a monitor. Take array as the interface of the two softwares, in Virtools, set the file names、part names、part position and orientation in array; In VC++6.0, using relevant SDK functions to read the parameters in array, translate the parameters to monitor by Windows Socket; In monitor, programme interface and realize network monitoring.
出处
《电脑编程技巧与维护》
2010年第20期118-120,共3页
Computer Programming Skills & Maintenance
关键词
网络监控
阵列
二次开发
界面编程
network monitoring
array
secondary development
interface programme