Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

(C++ VCL) Get argv[0]

 

Make use of the global TApplication pointer called Application. As in the console tradition, this includes the full path of your program.

View the code in plain text.

 

 

//From http://www.richelbilderbeek.nl/CppVclGetArgvZero.htm

const String argvZero = Application->ExeName;

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.