Article View: borland.public.cppbuilder.migration
Article #125Re: ExtractFilePath doesn't work when I upgrade my project from BCB6.
From: Remy Lebeau (TeamB)
Date: Mon, 30 Jun 2008 04:59
Date: Mon, 30 Jun 2008 04:59
15 lines
1355 bytes
1355 bytes
"Gene" <shenjige@yahoo.ca> wrote in message news:4865eef2$1@newsgroups.borland.com... > AnsiString FName = Application->ExeName; > AnsiString path = ExtractFilePath(FName); > > path is Null. The only way that can happen is if FName was empty string to begin with. That woul suggest the Win32 API GetModuleFileName() function failed inside of Application->ExeName somehow. Gambit
Technical Details
Message-ID:
<486867f8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4865eef2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,17ff24494bd385b4 X-Google-Attributes: gid110f51,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.migration References: <4865eef2$1@newsgroups.borland.com> Subject: Re: ExtractFilePath doesn't work when I upgrade my project from BCB6. Date: Sun, 29 Jun 2008 21:59:38 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 76.94.74.164 Message-ID: <486867f8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1214801912 76.94.74.164 (29 Jun 2008 21:58:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail