注册到后台 - Reg
函数简介
调用此函数来注册,从而使用插件的高级功能。推荐使用此函数。多个OLA对象仅需要注册一次。
接口名称
Reg
DLL调用
int Reg(string userCode, string softCode, string featureList);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| userCode | 字符串 | 用户码。 |
| softCode | 字符串 | 软件码。 |
| featureList | 字符串 | 功能列表。如OLA、Yolo等,多个特性用 | 分割,如 OLA|Yolo。 |
示例
int ok = Reg("aaa", "bbb", "OLA");
printf("Reg ok=%d\n", ok);
返回值
1 成功,0 失败。
注意事项
- 多个OLA对象仅需要注册一次。
