- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I compile thecode
integer fhandle, nlines, ncols
lstat = SetConsoleCursorPosition(fhandle, wpos)
integer(kind=4) rval, ii, event
call ZeroMemory(loc(sinfo),ii)
warning #6075: The data type of the actual argument does not match the definition. [FHANDLE]
The data type of the actual argument does not match the definition. [II]
What is the problem here?
best regards,
Erik
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have declared as INTEGER(4) variables that need to be an addressed-sized integer. In the call to ZeroMemory, the length is INTEGER(SIZE_T). You also have a handle that is apparently declared as INTEGER(4) - this should be INTEGER(HANDLE).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
It is already a while back, but your answer helped me to solve the problem quickly.
Thanks,
Frederik
It is already a while back, but your answer helped me to solve the problem quickly.
Thanks,
Frederik

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page