|
|
|
|
|
[求助]请教:在VC里我调用外部程序的DLL时,参数传递出现错误???
最初由 d1y2j3 发布 谢谢,编译通过,结果正确~ 有时候真郁闷,ASM写这些真TMD的容易,C++里写都要受到语法限制 哪怕都是DWORD,却也要转换 |
|
[求助]请教:在VC里我调用外部程序的DLL时,参数传递出现错误???
最初由 小虾 发布 嘿嘿,多谢虾兄,差不多通过了,还有最后一个错误 Error E2206 legal character' '(0xa1a1) 是发生在MyFunc _MyFunc;这里 |
|
[求助]请教:在VC里我调用外部程序的DLL时,参数传递出现错误???
最初由 小虾 发布 谢谢虾XD,不过编译同不过 Error: E2034 Cannot convert 'int (__stdcall *)()' to 'int(*)(int)' |
|
[求助]请教:在VC里我调用外部程序的DLL时,参数传递出现错误???
多谢,下面是代码: unsigned int temp; HANDLE hLibrary; FARPROC lpFunc; hLibrary=LoadLibrary("test.dll"); lpFunc=GetProcAddress(hLibrary,"addtest"); if(lpFunc != NULL) { temp=0x12345678; temp=lpFunc(temp); //就是这里编译通不过,如果把temp去掉就OK了,但是这样的话DLL里的参数就不对了 FreeLibrary(hLibrary); } else { Application->MessageBoxA("调用API失败?","错误",0); } //test.dll里的addtest函数的原形是 int addtest(int temp) |
|
[求助]请教:在VC里我调用外部程序的DLL时,参数传递出现错误???
UPUPUPUPUPUPUP |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值