We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Ted Bendixson
About a year into working on my game project, and posting several YouTube videos on my Mac OS port…
»
Mārtiņš Možeiko
Oh, I'm blind and misread the condition - did not notice ! operator. You're right, for native code…
»
William
WinMainCRTStartup is in "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\M…
»
Mārtiņš Možeiko
I checked in MSVC 2019 CRT - it does not call ExitProcess. WinMainCRTStartup is in "C:\Program Fil…
»
William
The CRT normally calls ExitProcess for you after returning from main. If you don't call it yoursel…
»
Ted Bendixson
Interesting. I remember just plugging in my Sony PS4 Dual Shock controller, putting a breakpoint i…
»
Ted Bendixson
I decided to kill my previous game idea after I found myself unable to fix several gameplay proble…
»
Mārtiņš Možeiko
Closing threads/handles or releasing allocated memory is done by OS regardless of how process term…
»
flamaros
Hi, I found this post really interesting, but there is a point that needs more explications for me…
»
Mārtiņš Možeiko
Seems that improving getting thread names is a known issue:
»
cphinton
Thanks, that looks much nicer. Though having tested it, it is supported by a modern version of VS,…
»
Mārtiņš Možeiko
Cannot tell you anything about what Remedy supports. But if you are on Windows 10, you can set thr…
»
cphinton
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 …
»
Mārtiņš Možeiko
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…
»
Mārtiņš Možeiko
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…
»
Simon Anciaux
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…
»
Mārtiņš Možeiko
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 …
»
Simon Anciaux
After reading the articles linked in this thread, I wanted to try to use only rdtsc to get time in…
»
ratchetfreak
about separating the blocks you may wish to add a puzzle where the only solution is to separate th…
»
Oliver Marsh
Found this example which solves it 👌
»
Oliver Marsh
Hi everyone, I was wanting to implement something similar to the effect in snakebird where the rai…
»
BernFeth
Uh oh... Even more embarassing then... Thanks for answering anyway. I will take a look on WASAPI, …
»
Mārtiņš Možeiko
It says in documentation to what value to set it: I personally would not choose XAudio2 unless y…
»
BernFeth
Ah... Thank you mmozeiko, you are absolutely right. This is embarrasing but I have to say I hae no…
»