社区
Windows SDK/API
帖子详情
Types of actual and formal var parameters must be identical这个错误指什么?
xfdlxf
2004-11-04 03:01:51
在此句出现:readfile(iu_file,ls_buffer,lu_numbytes,lu_bytesread,lstr_locstruct)
...全文
3002
4
打赏
收藏
Types of actual and formal var parameters must be identical这个错误指什么?
在此句出现:readfile(iu_file,ls_buffer,lu_numbytes,lu_bytesread,lstr_locstruct)
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
4 条
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
打赏红包
aiirii
2004-11-04
打赏
举报
回复
var iu_file:integer;
lu_bytesread,lu_numbytes: cardinal; //這里
ls_buffer:array[1..100]of char;
lstr_locstruct:Poverlapped;
xfdlxf
2004-11-04
打赏
举报
回复
定义如下:var iu_file:integer;
var lu_bytesread,lu_numbytes:integer;
var ls_buffer:array[1..100]of char;
var lstr_locstruct:Poverlapped;
请问爱的眼睛:这样是否有问题,另外各初始值该如何赋值?谢谢
aiirii
2004-11-04
打赏
举报
回复
要參照這句代碼的上面的代碼
function ReadFile(hFile: THandle; var Buffer; nNumberOfBytesToRead: DWORD;
var lpNumberOfBytesRead: DWORD; lpOverlapped: POverlapped): BOOL; stdcall;
好象說你參數的類型與聲明的不一致
miky
2004-11-04
打赏
举报
回复
形参与实参必须一致
相关推荐
ReadProcessMemory
Types
of
actu
al
and
form
al
var
parameters
must be
ide
nti
c
al
转自:https://www.cnblogs.com/cb168/p/5884673.html delphi XE Berlin ReadProcessMemory WriteProcessMemory delphi XE,Berlin [dcc32 Error] Unit9.pas(93): E2033
Types
of
actu
al
and
form
al
var
parameters
must be
ide
nti
c
al
function ReadProcessMemory(hProcess: THan
delphi XE Berlin ReadProcessMemory WriteProcessMemory
delphi XE,Berlin [dcc32 Error] Unit9.pas(93): E2033
Types
of
actu
al
and
form
al
var
parameters
must be
ide
nti
c
al
function ReadProcessMemory(hProcess: THandle; const lpBaseAddress: Pointer; lpBuffe...
error C2197:'int (__stdc
al
l *)(void )' :too many
actu
al
parameters
(
错误
C2197:‘int (__stdc
al
l *)(void...
将使用 GetPro
cA
ddress() 的代码从 C 导向 C++ 时, MS-DOS 的 C++ 编译器可能会返回以下
错误
消息: error C2564:
form
al
/
actu
al
parameters
mismatch in c
al
l through pointer to function(
错误
C2564:通过
指
针调用的函数中形参/实参不匹配)32 位编译器返回的
错误
消息为:...
error C2197:'int (__stdc
al
l *)(void )' :too many
actu
al
parameters
(
错误
C2197:‘int (__stdc
al
l *)(void
将使用 GetPro
cA
ddress() 的代码从 C 导向 C++ 时, MS-DOS 的 C++ 编译器可能会返回以下
错误
消息: error C2564:
form
al
/
actu
al
parameters
mismatch in c
al
l through pointer to function(
错误
C2564:通过
指
针调用的函数中形参/实参不匹配)32 位编译器返回的
错误
消息为: er
【转载】#324 - A Generic Class
Ca
n Have More than One Type Parameter
A generic class includes one or more type
parameters
that will be substituted with
actu
al
types
when the class is used. If the class has more than one type parameter,
al
l
parameters
must be substitute...
发帖
Windows SDK/API
Windows SDK/API
Delphi Windows SDK/API
复制链接
扫一扫
1177
社区成员
2.2w+
社区内容
Delphi Windows SDK/API
社区管理员
加入社区
获取链接或二维码
帖子事件
创建了帖子
2004-11-04 03:01
社区公告
暂无公告