About a year into working on my game project, and posting several YouTube videos on my Mac OS port…
Oh, I'm blind and misread the condition - did not notice ! operator. You're right, for native code…
WinMainCRTStartup is in "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\M…
I checked in MSVC 2019 CRT - it does not call ExitProcess. WinMainCRTStartup is in "C:\Program Fil…
The CRT normally calls ExitProcess for you after returning from main. If you don't call it yoursel…
Interesting. I remember just plugging in my Sony PS4 Dual Shock controller, putting a breakpoint i…
I decided to kill my previous game idea after I found myself unable to fix several gameplay proble…
Closing threads/handles or releasing allocated memory is done by OS regardless of how process term…
Hi, I found this post really interesting, but there is a point that needs more explications for me…
Seems that improving getting thread names is a known issue:
Thanks, that looks much nicer. Though having tested it, it is supported by a modern version of VS,…
Cannot tell you anything about what Remedy supports. But if you are on Windows 10, you can set thr…
Hello, I am debugging a program with a large number of threads. I would like to give them human-re…
Miles —
I'm well aware that it is possible to mix and match. There is, however, not a straightforward way …
But compiler version is not reliable way to detect what Windows SDK version of headers/libraries y…
Miles —
The compile-time version check is there to hopefully prevent code that relies on new versions of h…
Why SetProcessDpiAwarenessContext is called only for MSVC specific compiler versions (newer than 1…
Miles —
Update: here is an updated function which handles DPI awareness with whatever is the most modern A…
Miles —
An interesting note is that the function does at least have well-defined upper and lower bounds. F…
Thanks for WinRing0, I'll have a look at that at some point. You can rely on rdtsc value on moder…
Ben —
Yeah definitely. I think I may have already put one in as the second block puzzle you encounter. T…
You can do simple tests with reading/writing MSR register with WinRing0 project: It provides preb…
HRose —
Hey everyone, We will be having a subsidiary online London meetup every 2nd Thursday of the month …
After reading the articles linked in this thread, I wanted to try to use only rdtsc to get time in…
about separating the blocks you may wish to add a puzzle where the only solution is to separate th…
Found this example which solves it 👌
Hi everyone, I was wanting to implement something similar to the effect in snakebird where the rai…
Uh oh... Even more embarassing then... Thanks for answering anyway. I will take a look on WASAPI, …
It says in documentation to what value to set it: I personally would not choose XAudio2 unless y…
Ah... Thank you mmozeiko, you are absolutely right. This is embarrasing but I have to say I hae no…