QLibrary load函数问题
问题很诡异,度姐跟谷哥都绝望了
QLibrary lib("EPCSDK.dll");
if(lib.load())
cout<<"load successful"<<endl;
else
{
QMessageBox::information(this,"error","load error");
qDebug()<<lib.errorString()<<endl;
}
提示错误:"Cannot load library EPCSDK.dll: 找不到指定的模块。"
开发包自带的dll文件加载不了,我又自己在vc6.0,vs2010上重新编译生成,最后还是加载不了,而且没有其他关联的dll文件。但是我在sysytem32目录下随便找一个dll文件都可以load(),请问这会是什么原因引起的?