Go back to Richel Bilderbeek's homepage.

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

 

 

 

 

 

(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.

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.

 

Valid XHTML 1.0 Strict