path provided by GetModuleFileName if rcCurrentDirectory is not set.
This will make it possible to run a command like
thcrap\thcrap_loader.exe ... to start thcrap
IMPORTANT NOTE: THIS WILL FAIL TO BUILD BECAUSE I DID NOT EDIT BUILD
FILES TO INCLUDE shlwapi.lib. I never worked with build systems
before :tannedcirno: but was able to test by using the Visual Studio UI
to include shlwapi.lib
(also it'd probably make sense to use NULL for the CurrentDirectory
parameter in CreateProcessW now)
path provided by GetModuleFileName if rcCurrentDirectory is not set. This will make it possible to run a command like
thcrap\thcrap_loader.exe ...
to start thcrapIMPORTANT NOTE: THIS WILL FAIL TO BUILD BECAUSE I DID NOT EDIT BUILD FILES TO INCLUDE shlwapi.lib. I never worked with build systems before :tannedcirno: but was able to test by using the Visual Studio UI to include shlwapi.lib
(also it'd probably make sense to use NULL for the CurrentDirectory parameter in CreateProcessW now)