Finding home directory

Hi!

We are looking for a function which helps a running application to find
its home directory. We know there is one, but where and what is its name?

Best regards,
Ingmar Brumm


Ingmar Brumm ColorPartner GmbH, Lise-Meitner-Str. 1-7, 24223 Raisdorf
xxxxx@netzservice.de Tel: +49 4307 839570 Fax: +49 4307 900212
www.netzservice.de/home/colorpn, www.ColorPartner.de
www.ColorScout.de, www.ColorScout.com


GetModuleFileNameEx() will give u the full path of the running
application. Truncate the last exe name and u get the home directory.

I guess thats what u want.

thanx
Tushar

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of ColorPartner GmbH
Sent: Monday, April 03, 2000 3:36 AM
To: NT Developers Interest List
Subject: [ntdev] Finding home directory

Hi!

We are looking for a function which helps a running
application to find
its home directory. We know there is one, but where and what
is its name?

Best regards,
Ingmar Brumm



Ingmar Brumm ColorPartner GmbH, Lise-Meitner-Str. 1-7,
24223 Raisdorf
xxxxx@netzservice.de Tel: +49 4307 839570 Fax:
+49 4307 900212
www.netzservice.de/home/colorpn, www.ColorPartner.de
www.ColorScout.de, www.ColorScout.com




You are currently subscribed to ntdev as: xxxxx@veritas.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)