posts - 11,  comments - 0,  trackbacks - 0
          LiveJournal Tags:

          MICROSOFT         PB(16Bit)         PB(32Bit)

          Bool                    Boolean         Boolean

          Char*                 Ref string       Ref String

          Colorref               Uint             Ulong

          Dword                 Uint             Ulong

          Handle                Uint             Ulong

          Hdc                    Uint             Ulong

          Hfile                   Uint             Ulong

          Hinstance           Uint             Ulong

          Hwnd                 Uint             Ulong

          Int                     Int             Int

          Lparam               Uint             Ulong

          Lpbyte               Ref Int         Ref Long

          Lpdword             Ref Uint        Ref Ulong

          Lpfiletime           Ref Time        Ref Time

          Lpint                 Ref Int          Ref Long

          Lpstr,Lpststr       Ref String     Ref String

          Lpvoid               Ref Structstruct_inst         Ref Struct struct_inst

          Mcierror            Long             Long

          Lpstr,Lpststr       Ref String     Ref String

          Lpvoid              Ref Structstruct_inst         Ref Struct struct_inst

          Pbyte               Ref Int[#]     Ref Long[#]

          Short               Int         Int

          Structure         Ref Struct struct_inst       Ref Struct Struct_inst

          Uint                Uint              Uint

          Void**           SUBROUTINE    SUBROUTINE

          Word                         Int       Ulong

           

          LiveJournal Tags:

           

          Catch0 

          pb能使用的必須是標準winapi即pasical 壓棧順序

          1. 制作dll文件時 需要stdcal
          2. 在函數中加入winapi

          eg:

          DLLIMPORT WINAPI int CI_MACForPb(
                        long           nFunction,      
                        unsigned char  *pEntity,     
                        unsigned char  *pInData,
                        unsigned long  nInLength,
                        unsigned char  *pMAC,
                        unsigned long  *pnMACLength
                        )
          posted on 2009-05-14 20:48 小暉 閱讀(1758) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          <2009年5月>
          262728293012
          3456789
          10111213141516
          17181920212223
          24252627282930
          31123456

          常用鏈接

          留言簿(2)

          隨筆檔案

          文章分類

          相冊

          最新隨筆

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 青河县| 得荣县| 凤山市| 扶余县| 乾安县| 高雄市| 库尔勒市| 萍乡市| 大荔县| 石渠县| 双柏县| 亚东县| 沁源县| 长白| 鹤岗市| 沁阳市| 明水县| 鄂托克前旗| 南华县| 襄城县| 大宁县| 甘德县| 尼玛县| 新密市| 肇东市| 沁水县| 观塘区| 大渡口区| 贵溪市| 密云县| 惠水县| 南平市| 兴义市| 文化| 金湖县| 高青县| 广汉市| 江津市| 措勤县| 靖西县| 祁连县|