Article View: borland.public.cppbuilder.nativeapi
Article #11612Re: Current path.
From: Remy Lebeau (TeamB)
Date: Sat, 31 Jan 2004 22:24
Date: Sat, 31 Jan 2004 22:24
13 lines
1251 bytes
1251 bytes
"Tuga" <nmp@ispgaya.pt> wrote in message news:401c0a9c$1@newsgroups.borland.com... > Does anyone knows how can i get the current path? > I mean, i�ve got an executable and i want to know the > path of that executable. Use GetModuleFileName() to get the full path and then manually truncate off the filename from the path. Gambit
Technical Details
Message-ID:
<401c296b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<401c0a9c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,d56e3b742ac82e7f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-31 14:39:46 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <401c0a9c$1@newsgroups.borland.com> Subject: Re: Current path. Date: Sat, 31 Jan 2004 14:24:20 -0800 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <401c296b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075587435 67.22.138.253 (31 Jan 2004 14:17:15 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail