by Graf Zahl » Wed May 16, 2018 3:22 am
Which wouldn't help you in any way here, because it's not an error in the operating system but in some library code that got linked into GZDoom that caused the problem.
In all seriousness, why was this function even used? IMO it's a classic case of bad app code causing problems down the line because it wasn't fully thought through.
Fun stuff: Before 2008 this was using GetModuleFileName but then Randi must have read about this strange function and changed the code without any real need. Then later problems on MinGW surfaced and the #ifdef got added. And now we're back to the start, as it always should have remained.
Which wouldn't help you in any way here, because it's not an error in the operating system but in some library code that got linked into GZDoom that caused the problem.
In all seriousness, why was this function even used? IMO it's a classic case of bad app code causing problems down the line because it wasn't fully thought through.
Fun stuff: Before 2008 this was using GetModuleFileName but then Randi must have read about this strange function and changed the code without any real need. Then later problems on MinGW surfaced and the #ifdef got added. And now we're back to the start, as it always should have remained.