Article View: borland.public.cppbuilder.nativeapi
Article #11617Re: Current path.
From: Tuga
Date: Sun, 01 Feb 2004 13:07
Date: Sun, 01 Feb 2004 13:07
23 lines
1442 bytes
1442 bytes
Thanks. It works perfectly. Bye. "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> escreveu na mensagem news:401c296b$1@newsgroups.borland.com... > > "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:
<401cfa0c$2@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> <401c296b$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-02-01 05:12:20 PST From: "Tuga" <nmp@ispgaya.pt> Newsgroups: borland.public.cppbuilder.nativeapi References: <401c0a9c$1@newsgroups.borland.com> <401c296b$1@newsgroups.borland.com> Subject: Re: Current path. Date: Sun, 1 Feb 2004 13:07:25 -0000 Lines: 25 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: 213.22.154.242 Message-ID: <401cfa0c$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075640844 213.22.154.242 (1 Feb 2004 05:07:24 -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