以文本方式查看主题 - 蓝色快车PB俱乐部论坛 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp) -- PowerBuilder MIS编程 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=1) ---- 懂PB的都来看看好吗 (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=1&rootid=4145&id=4153) |
-- 作者:xk_newboy -- 发布时间:2006/10/11 11:30:57 -- 懂PB的都来看看好吗 动态库里面有这样一个方法 HRESULT RIL_Initialize( DWORD dwIndex, // @parm index of the RIL port to use (e.g., 1 for RIL1:) RILRESULTCALLBACK pfnResult, // @parm function result callback RILNOTIFYCALLBACK pfnNotify, // @parm notification callback DWORD dwNotificationClasses, // @parm classes of notifications to be enabled for this client DWORD dwParam, // @parm custom parameter passed to result and notififcation callbacks HRIL* lphRil // @parm returned handle to RIL instance ); 现在我想用PB调用它,我在全局声明那里应该怎么写呢 FUNCTION any RIL_Initialize( )LIBRARY "rilgsm.dll" |
-- 作者:chinahawk -- 发布时间:2006/10/13 10:31:03 -- PB不支持回调函数,这个函数可能在PB中无法使用 |
"> |