有一个第三方的C++的DLL,用Delphi 2007开发程序(新手水平),在DLL的头文件中,函数结构体比较复杂,有大神能给点思路吗?
C++头文件定义:
typedef int (*SetValueFunc)(const char* path, const char* value);
typedef const char* (*GetValueFunc)(const char* path);
typedef const ConfigNode* (*GetPropertysFunc)();
typedef struct tagIProperty
{
SetValueFunc SetValue;
GetValueFunc GetValue;
GetPropertysFunc GetPropertys;
}IProperty;
在C++调用:
property->SetValue("0/baud_rate", "1000000")