调用DLL出现错误!
HINSTANCE hDll=NULL;
hDll=LoadLibrary("web.dll");
这样调用时现在如个错误:
LoadLibraryW' : cannot convert parameter 1 from 'char [13]' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
奇怪的是,同种方法,其他文件调用可以通过!!
问题点数:20、回复次数:4Top
1 楼manbaum(砸锅上网)回复于 2001-11-07 15:09:18 得分 20
hDll = LoadLibrary(L"web.dll");Top
2 楼Focus(西门大灌人)回复于 2001-11-07 15:11:39 得分 0
你的贴子贴错地方了Top
3 楼ecamel(沙漠之舟)回复于 2001-11-07 16:02:24 得分 0
TO manbaum()
我想知道为什么要加个L?
Top
4 楼manbaum(砸锅上网)回复于 2001-11-07 16:21:17 得分 0
L"" 表示转成 unicode 字符串Top




