On Wednesday, 10 July 2013 at 15:25:02 UTC, Johannes Pfau wrote:
Getting the real application path is not simple and not portable, butif you really want to do that:http://stackoverflow.com/questions/933850/how-to-find-the-location-of-the-executable-in-c http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe/1024937#1024937
On Windows you don't have to use GetModuleFileName as argv[0] has the full path.