What LDC flags should be used to get the fastest executable on Windows?

Imperatorn johan_forsberg_86 at hotmail.com
Sat Mar 6 11:34:33 UTC 2021


On Saturday, 6 March 2021 at 10:51:35 UTC, Preetpal wrote:
> On Saturday, 6 March 2021 at 09:07:05 UTC, Imperatorn wrote:
>> [...]
>
> There is an issue with the code where the running program very 
> infrequently misses when the SHIFT key is released. As this 
> program keeps track of what modifier keys are currently pressed 
> (as it is supposed keep track of all key presses and key 
> releases), this can cause the wrong keyboard shortcut to be 
> triggered.
>
> [...]

I see, back in the day when I did stuff like this, I used 
GetAsyncKeyState instead. Have you tried that approach?


More information about the digitalmars-d-ldc mailing list