用户操作
[即时聊天] [发私信] [加为好友]
水木沐ID:leimiaomiao
4431次访问,排名19434好友1人,关注者3
Wince软件以及驱动开发
leimiaomiao的文章
原创 9 篇
翻译 0 篇
转载 2 篇
评论 23 篇
水木沐的公告
欢迎来访,对于本人原创之文章,如有谬误,敬请指正!请尊重作者成果。
最近评论
习习:问个问题IContact里面要修改Categories怎么做??谢谢
leimiaomiao:wellfrog:
congratulations


leimiaomiao:wellfrog:
congratulations


wellfrog33:cuiyafang212,你是在问leimiaomiao吧?^_^ 我好像没有这个问题。。。让我去查一下,你可以留下邮箱,我会把code发给你
wellfrog33:leimiaomiao, 谢谢回复!后来理解了是用rapi控制手机端安装的dll,读取短消息,实现之后觉得是满简单的。
文章分类
收藏
    相册
    存档
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    原创 Remote RAPI收藏

    新一篇:  把乘法变成加法(转自csdn longshanks) | 旧一篇: Effective C++複習

    對於RAPI的初始化:
    下面的兩個函數都是做初始化的操作,而不會creates a connection between a PC and a device !
    HRESULT CeRapiInit (void);//blocks會發生阻塞
    HRESULT CeRapiInitEx (RAPIINIT* pRapiInit);
    //The only parameter is a pointer to a RAPIINIT structure,Any questions you can find out in MSDN!
    初始化以後用信號來通知該事件對象,例如如WaitForSingleObject()來讓綫程阻塞這個事件!以確定最終什麽時候連接——即有一個消息通知該事件對象后才建立真正的連接。

    錯誤處理:
    Handling RAPI Error:
    Two functions:

    HRESULT CeRapiGetError (void);

    and

    DWORD CeGetLastError (void);//返回擴展錯誤

    The first function determine whether an error occurred in the RAPI layer,and the second function returns the extended error for the failure on the device!
     

    发表于 @ 2007年04月28日 15:17:00|评论(loading...)|编辑

    新一篇:  把乘法变成加法(转自csdn longshanks) | 旧一篇: Effective C++複習

    评论

    #tjgao 发表于2008-07-06 22:53:22  IP: 58.41.42.*
    CeOid = CeReadRecordPropsEx (hDatabase, CEDB_ALLOWREALLOC, &wcPropID,NULL,
    (LPBYTE*)&Buffer,&dwcbBuffer,NULL);
    这个调用后,ceoid是0,即调用失败用cegetlasterror得到的的错误码是0,用CeRapiGetError 得到的错误码是e_outofmemory,请问出错是在哪里,怎么解决?
    发表评论  


    登录
    Csdn Blog version 3.1a
    Copyright © 水木沐