Application.StartupPath
Hi,
In a previous thread I asked about reading the path of an executable in Visual C++. I was told to use Application.StartupPath . Unfortuantly I cannot get it to work.
I've tried using the forms:
path = Application.StartupPath();
and
path = Application:
tartupPath;
The compiler reports the following errors:
'Application' is not a class or namespace name.
'StartupPath' undeclared identifier
Could someone please suggest what I may be doing wrong, and what header file I need to include.
Thanks in advance
Andrew Ellis

