Article View: borland.public.cppbuilder.nativeapi
Article #16812Re: Filename problem solved!
From: Frank Eid
Date: Thu, 24 Apr 2003 21:44
Date: Thu, 24 Apr 2003 21:44
11 lines
1383 bytes
1383 bytes
> Not in the VCL itself, no. But the C library has fnsplit() which does that. > It doesn't work for UNC paths, though. Yeah, but it need lot's of defining of char arrays (possible with memory alloc), it's a lot easier to just use the AnsiString functions... After the idea of using 'ChangeFileExt()' I've trashed the func i wrote using the 'fnsplit()'... Frank
Technical Details
Message-ID:
<3ea8594c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ea85256$1@newsgroups.borland.com> <3ea85787$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,72b0c0166f06175b X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-24 14:42:54 PST From: "Frank Eid" <frank@spi.no> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ea85256$1@newsgroups.borland.com> <3ea85787$1@newsgroups.borland.com> Subject: Re: Filename problem solved! Date: Thu, 24 Apr 2003 23:44:26 +0200 Lines: 13 Organization: SystemPartner Int X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 193.216.80.150 Message-ID: <3ea8594c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051220300 193.216.80.150 (24 Apr 2003 14:38:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail