(C++) [Get argv\[0\] from VCL](CppVclGetArgvZero.md)
February 24, 2017 · View on GitHub
(C++) Get argv[0] from VCL
Make use of the global TApplication pointer called Application. As in the console tradition, this includes the full path of your program.
//From http://www.richelbilderbeek.nl/CppVclGetArgvZero.htm const String argvZero = Application->ExeName;