home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!mckean.demon.co.uk
- From: martin@mckean.demon.co.uk (Martin McKean)
- Newsgroups: comp.lang.c++
- Subject: How get application directory in Win95?
- Date: Mon, 08 Apr 1996 08:26:09 GMT
- Message-ID: <3168cca8.89931566@news.demon.co.uk>
- NNTP-Posting-Host: mckean.demon.co.uk
- X-NNTP-Posting-Host: mckean.demon.co.uk
- X-Newsreader: Forte Agent .99d/32.182
-
- When an Win95 application is running, how can I find the directory
- path it is stored in so that data files can be written to it?
-
- I assume that this is not necessarily the current working directory.
-
- This is so that a user can put the program in any directory, and the
- program can ascertain its location for data files.
-
- Grateful for help!
-
- Thanks,
- Martin
-