Definitions of GetNativeSystemInfo and GetSystemInfo are "deficient".
Original Reporter info from Mantis: 440bx @440bx
-
Reporter name:
Original Reporter info from Mantis: 440bx @440bx
- Reporter name:
Description:
Both functions require passing a variable. Passing nil - which the current definition allows - causes an exception in USER32.DLL.
The parameter should be "var" for both (instead of a pointer) or better yet, "out".
NOTE: overloading the current definition would not prevent passing nil. That would not be a good solution in this particular case.
Steps to reproduce:
code a call to either function passing nil as the parameter.
Mantis conversion info:
- Mantis ID: 35440
- Version: 3.0.4