On Thursday, 8 March 2018 at 17:06:05 UTC, Marc wrote:
How do I define the callback so that it can be used in
RegisterWaitForSingleObject()?
I've tried pass as argument:
myFunc
&myFunc
myFunc.ptr
none worked. Here's my code:
[...]
Function call:
[...]
Error:
[...]
Solved! I shall
How do I define the callback so that it can be used in
RegisterWaitForSingleObject()?
I've tried pass as argument:
myFunc
&myFunc
myFunc.ptr
none worked. Here's my code:
extern (C) void OnExited(void* context, BOOLEAN isTimeOut);
extern(Windows):
BOOL RegisterWaitForSingleObject(