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)

          隨筆檔案

          文章分類

          相冊

          最新隨筆

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 张北县| 丰顺县| 定远县| 徐州市| 武义县| 唐山市| 永嘉县| 德格县| 民丰县| 建瓯市| 和田市| 平乡县| 九龙坡区| 桃园市| 建昌县| 夏津县| 蒙自县| 家居| 桦甸市| 侯马市| 库伦旗| 乌拉特前旗| 离岛区| 同仁县| 镇安县| 宜州市| 綦江县| 延吉市| 江阴市| 沙坪坝区| 通山县| 明水县| 清水县| 五河县| 卢湾区| 兴山县| 榆林市| 昭苏县| 城步| 伊金霍洛旗| 渝北区|