摘要
回调函数是应用程序参与操作系统运行的一个非常重要的接口,在DirectXPlay开发过程中,经常需要使用到回调函数,直接使用回调函数显得复杂麻烦。介绍了用C++完成回调函数的封装的方法,使回调函数的处理变得容易。
Callback Function is very important interface for application in operating system . In the development of DirectX Play , callback Function is used frequently. It is inconvenient to make use of callback function directly.C++ is popular programming technology at present , In this paper, C++ encapsulation of callback function is finished,which makes treatment very easy to use recall function.
出处
《重庆工商大学学报(自然科学版)》
2004年第6期585-587,共3页
Journal of Chongqing Technology and Business University:Natural Science Edition