i need to get path to current executable in service, but when using GetModuleFileNameW or global variable _pgmptr i always get lowercase path, which is incorrect for me.
example: original path is C:/MyApp/app.exe and GetModuleFileNameW always returns c:/myapp/app.exe
problem doesnt occur in desktop applications, only services. how can i get the correct case path?