VC动态库DLL在DELPHI下调用
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);
最主要是翻译出这三个函数的用法
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);
最主要是翻译出这三个函数的用法
...全文
相关推荐
VC的DLL类导出后,用Delphi调用方法及源码
在VC中的DLL类导出以后完全是可以被delphi调用的.源码中有详细介绍和说明文档.
Qt.VC调用delphi编写的dll lib,详细方法
delphi可以很方便的封装第三方库,导出dll,此方法可以很方便的生成供Qt或VC调用的Lib文件,免去动态加载的麻烦,喜欢的朋友可以试下。我就是这么用的。
欧姆龙UDPfins通讯动态库适用VB、VC、Delphi、易语言、LabviEW
欧姆龙UDPfins通讯动态库适用VB、VC、Delphi、易语言、LabviEW
Delphi 调用VC生成的DLL
详细描述Delphi 调用VC生成的DLL的方法,并有函数说明
Delphi 调用VC DLL
演示 Delphi 调用VC DLL 参数传递


