* On 2022-02-27 08:52, Mohamad Al-Jaf wrote:
> The #ifdef and goto statements make the code
> look a bit messy IMO. The differing methods
> of retrieving the path made it difficult to
> organize the code.
Maybe a runtime check including a variable and a call to
GetSystemWow64DirectoryW() would help to beautify the code? [*]
Just a thought.
S.
[*]https://stackoverflow.com/questions/23696749/how-to-detect-on-c-is-windows-32-or-64-bit#66882299