C++ builder中怎么将void *转化为StringintFeature(int nRet, void *hFea)void *hFeamalloc(512)int nR
C++ builder中怎么将void * 转化为String
int Feature(int nRet, void *hFea);
void * hFea=malloc(512);
int nRet=0;
Feature(nRet,hFea);
要将hFea取出并转为String,怎么处理。
[解决办法]
String str = (String)(char *)hFea;
