L
lucky9805
Unregistered / Unconfirmed
GUEST, unregistred user!
在一个用c写的aa.dll中有下面两个函数
extern"C"
LONG __stdcall T15_ClientStart(PCLIENT_VIDEOINFO pClientinfo, void(CALLBACK *ReadDataCallBack)(DWORD nChannel,UCHAR *pPacketBuffer,DWORD nPacketSize));
extern"C"
void __stdcall T15_ServerCheckPassword (int(CALLBACK *CheckPassword)(char *username,WORD namelen,char *password,WORD passlen));
我想在delphi中引用这两个函数,不知道要怎么写,希望得到帮助
这里主要是第一个函数中的:第二个参数 void(CALLBACK *ReadDataCallBack)(DWORD nChannel,UCHAR *pPacketBuffer,DWORD nPacketSize)
第二个函数中的参数:int(CALLBACK *CheckPassword)(char *username,WORD namelen,char *password,WORD passlen)
extern"C"
LONG __stdcall T15_ClientStart(PCLIENT_VIDEOINFO pClientinfo, void(CALLBACK *ReadDataCallBack)(DWORD nChannel,UCHAR *pPacketBuffer,DWORD nPacketSize));
extern"C"
void __stdcall T15_ServerCheckPassword (int(CALLBACK *CheckPassword)(char *username,WORD namelen,char *password,WORD passlen));
我想在delphi中引用这两个函数,不知道要怎么写,希望得到帮助
这里主要是第一个函数中的:第二个参数 void(CALLBACK *ReadDataCallBack)(DWORD nChannel,UCHAR *pPacketBuffer,DWORD nPacketSize)
第二个函数中的参数:int(CALLBACK *CheckPassword)(char *username,WORD namelen,char *password,WORD passlen)