So I have some windows api calls where I think the datatype I’m using must be incorrect because I’m getting the windows error 87
**ERROR_INVALID_PARAMETER**
87 (0x57)
The parameter is incorrect.
System Error Codes (0-499) (WinError.h) - Win32 apps | Microsoft Docs
So where as with clarion dll functions and procedures I can see what the parameters are in LibMaker, I cant with windows api’s.
So how does everyone else work out what the parameter type (or length) is?
I understand I could dissemble the dll as described here:
| 2 | [ebp + 16] (3rd function argument)
| 5 | [ebp + 12] (2nd argument)
| 10 | [ebp + 8] (1st argument)
| RA | [ebp + 4] (return address)
| FP | [ebp] (old ebp value)
| | [ebp - 4] (1st local variable)
x86 Disassembly/Functions and Stack Frames - Wikibooks, open books for an open world
But is there any other way apart from dissembling the dll?
Edit. I know about IDA Pro ( IDA Pro – Hex Rays (hex-rays.com)) , but wondered what the best way is?