获取全局路径 - GetPath
函数简介
获取全局路径,建议使用 GetConfig 接口替代。
接口名称
GetPath
DLL调用
long GetPath(long ola);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| ola | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
示例
// 获取全局路径
long ptr = ola.GetPath();
返回值
字符串:当前设置的全局路径。
注意事项
- DLL调用返回字符串指针地址,需要调用 FreeStringPtr 接口释放内存。
