November 19, 2014 [Issue 13751] WaitForMultipleObjects's first argument not use on x86_64 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13751 Mike Parker <aldacron@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |aldacron@gmail.com Resolution|--- |INVALID --- Comment #1 from Mike Parker <aldacron@gmail.com> --- WaitForMultipleObjects is a Win32 API function. If you look at the documentation for it [1], the first parameter is a DWORD, which is always defined as a 32-bit integer on both 32-bit and 64-bit Windows. The prototype in DRuntime cannot change this. The problem here is with DFL, not DRuntime. The fix is to cast the .length parameter to a DWORD when making the function call. -- |
November 19, 2014 [Issue 13751] WaitForMultipleObjects's first argument not use on x86_64 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13751 --- Comment #2 from Mike Parker <aldacron@gmail.com> --- [1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms687025(v=vs.85).aspx -- |
Copyright © 1999-2021 by the D Language Foundation