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 小晖 阅读(1724) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 

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

常用链接

留言簿(2)

随笔档案

文章分类

相册

最新随笔

搜索

  •  

最新评论

阅读排行榜

评论排行榜