改正在动态库处理中,函数名使用AnsiString
This commit is contained in:
parent
dce9ade773
commit
72f641c7a7
@ -35,13 +35,13 @@ namespace hgl
|
|||||||
void *func=(void*)pi_get(fp,name);
|
void *func=(void*)pi_get(fp,name);
|
||||||
|
|
||||||
if(!func)
|
if(!func)
|
||||||
LOG_ERROR("don't find "+UTF8String(name));
|
LOG_ERROR("don't find "+AnsiString(name));
|
||||||
|
|
||||||
return(func);
|
return(func);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_ERROR("Get func <"+UTF8String(name)+"> error: no load module!");
|
LOG_ERROR("Get func <"+AnsiString(name)+"> error: no load module!");
|
||||||
|
|
||||||
return(nullptr);
|
return(nullptr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user