CallBackFunc

所属分类:Windows编程
开发工具:C++ Builder
文件大小:610KB
下载次数:19
上传日期:2009-02-09 12:41:47
上 传 者孤草独芳
说明:  回调函数编程,解释回调函数的调用,可以学习.
(Programming callback function to explain the callback function call.)

文件列表:
回调函数测试\commstate.cpp (1515, 2005-08-29)
回调函数测试\commstate.dfm (2457, 2005-08-29)
回调函数测试\commstate.h (1098, 2003-08-26)
回调函数测试\commstate.obj (41604, 2009-02-09)
回调函数测试\dllsrc.cpp (15915, 2005-08-30)
回调函数测试\dllsrc.h (2682, 2005-08-30)
回调函数测试\dllsrc.obj (25450, 2009-02-09)
回调函数测试\dllsrc.~cpp (15905, 2005-08-30)
回调函数测试\dllsrc.~h (2682, 2005-08-30)
回调函数测试\main.cpp (2100, 2005-08-30)
回调函数测试\main.ddp (51, 2005-08-30)
回调函数测试\main.dfm (1008, 2005-08-30)
回调函数测试\main.h (1722, 2005-08-30)
回调函数测试\main.obj (81038, 2009-02-09)
回调函数测试\main.~cpp (2100, 2005-08-30)
回调函数测试\main.~ddp (51, 2005-08-30)
回调函数测试\main.~dfm (1007, 2005-08-30)
回调函数测试\main.~h (1722, 2005-08-30)
回调函数测试\NanJCS.bpg (1008, 2005-05-24)
回调函数测试\NanJCS.bpr (4019, 2005-08-30)
回调函数测试\NanJCS.cpp (1202, 2005-08-29)
回调函数测试\NanJCS.exe (33792, 2009-02-09)
回调函数测试\NanJcs.h (747, 2003-08-26)
回调函数测试\NanJCS.obj (17995, 2009-02-09)
回调函数测试\NanJcs.res (876, 2005-05-24)
回调函数测试\NanJCS.tds (2162688, 2009-02-09)
回调函数测试\NanJCS.~bpr (4019, 2005-08-30)
回调函数测试\NanJCS.~cpp (1310, 2005-05-24)
回调函数测试\SiMul.bpf (107, 2005-05-24)
回调函数测试\SiMul.bpr (3593, 2005-08-30)
回调函数测试\SiMul.dll (12800, 2009-02-09)
回调函数测试\SiMul.lib (11492, 2009-02-09)
回调函数测试\SiMul.res (876, 2005-05-24)
回调函数测试\SiMul.tds (983040, 2009-02-09)
回调函数测试\SiMul.~bpr (3593, 2005-08-30)
回调函数测试\release (0, 2008-11-14)
回调函数测试 (0, 2009-02-09)

函数说明: 使用simul.dll动态库: 三个函数: HANDLE __stdcall Init_comm(LPCTSTR Comm,DWORD BaudRate); 打开串口设备. 参数:   Comm: 串口字符串,"COM1","COM2"等;   BaudRate:串口波特率,固定为57600. 返回:HANDLE型,串口句柄.>0为成功打开. BYTE __stdcall Close_comm(HANDLE* phCom); 关闭串口设备. 参数: phCom: 指针型,指向串口句柄. 返回:BYTE型,==0正确,==其他,错误. BYTE __stdcall Get_Insnr(HANDLE hCom, BYTE* pBcdSnr); 返回卡号. 参数:  hCom:HANDLE型,串口句柄. pBCDSnr:指针型,指向四字节数组,函数执行后返回四字节的卡号; 返回:BYTE型,==0找到合适的卡,==1未找到合适的卡,==其他,通讯错误.

近期下载者

相关文件


收藏者