摘要: |
以Client/Server程序设计理论为基础,通过对在网络程序设计中使用单线程和多线程不同连接方式的讨论,选择了在编制计算机实验室远程关机程序中的方法——多线程程序设计。并利用VC++6.0实现了远程关闭计算机、重新启动计算机、注销当前用户等功能,该程序适用于Win9X,Win2000和WinXP。 |
关键词: API函数 异步通讯 关机 多线程 |
DOI: |
分类号: |
基金项目:河南省科技攻关项目(0424220249) |
|
Computer's shutting-down program based on multi-thread model in VC++ |
|
Abstract: |
Based on Client/Server programming theory,the paper discusses how to design program by single-thread or multi-thread designing.Then multi-thread's method was used to design program of shutting down computers at computer's laboratory.The use of VC++6.0 can reboot and shut down remote and local computers and logoff current user.The method applys to Win9X,WinXP and Win2000. |
Key words: API function asynchronous communication shutting down computer multi-thread |