iCAx开思工具箱
标题:
求救,谢谢先!
[打印本页]
作者:
alesjia
时间:
2005-4-18 13:33
标题:
求救,谢谢先!
在vc编译的时候出现这个问题
error C2664: 'GetProcAddress' : cannot convert parameter 2 from 'const unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
作者:
jambo436
时间:
2005-4-18 15:13
这错误显示的是参数2变量类型不对啊,
对应去改改估计就没什么大问题吧
作者:
alesjia
时间:
2005-4-18 15:23
那应该怎么进行类型转换呢?
谢谢
作者:
zhaobinbob
时间:
2005-4-18 17:48
z这要看你是用在什么地方了。
作者:
wflying
时间:
2005-4-19 11:15
看样子是要用sprintf()将其他类型的参数转换成字符类型的,你试试,应该能解决你的问题!
作者:
alesjia
时间:
2005-4-20 09:40
谢谢了
解决了
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3