VC动态库DLL在DELPHI下调用

一游 一游 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
BOOL __stdcall EzCfg_Open(char *pszPassWord);
void __stdcall EzCfg_Close();

int __stdcall EzCfg_GetNode(BYTE* MACAddr);
MACAddr 是这样的一个数组 BYTE MACAddr[100][6];

void __stdcall EzCfg_SetLocalIpPort(int nIndex, ULONG dwIp, USHORT nPort);
void __stdcall EzCfg_GetLocalIpPort(int nIndex, ULONG* dwIp, USHORT* nPort);

void __stdcall EzCfg_SetRemoteIpPort(int nIndex, ULONG dwIp, USHORT nPort);
void __stdcall EzCfg_GetRemoteIpPort(int nIndex, ULONG* dwIp, USHORT* nPort);

void __stdcall EzCfg_SetBaud(int nIndex, int nBaud);
void __stdcall EzCfg_GetBaud(int nIndex, int* nBaud);

void __stdcall EzCfg_SetSubnetMask(int nIndex, ULONG dwMask);
void __stdcall EzCfg_GetSubnetMask(int nIndex, ULONG* dwMask);

void __stdcall EzCfg_SetGateway(int nIndex, ULONG dwGateway);
void __stdcall EzCfg_GetGateway(int nIndex, ULONG* dwGateway);

以上为VC下DLL的导出函数,请帮忙写成DELPHI下的函数声明方式,最好每个函数有点示例

BOOL __stdcall EzCfg_Open(char *pszPassWord);
void __stdcall EzCfg_Close();

int __stdcall EzCfg_GetNode(BYTE* MACAddr);
最主要是翻译出这三个函数的用法
...全文

相关推荐

评论 6
收藏 已收藏
分享
返回顶部
一游
Delphi 5,944 成员 262,941 内容