Article View: borland.public.cppbuilder.nativeapi
Article #10403Re: Open a File with Slash in the File Path
From: PC Hua
Date: Tue, 27 Apr 2004 23:08
Date: Tue, 27 Apr 2004 23:08
28 lines
1679 bytes
1679 bytes
Sure? I'm using a library which is using fopen(). I couldn't open the file until I replace all '/' with '\\'. I only noticed BCB can handle '/', e.g. #include "dir/file.h" That works fine. PC HUA On Tue, 27 Apr 2004 09:48:49 +0200, Hans Galema <dontusethis@dontusethis.nl> wrote: > PC Hua wrote: > >> I have to open files with file path in UNIX format. Do I have to write >> my own procedure to replace all '/' by '\\' or there's already function >> I can use? >> or is there an option where I can enable BCB5 to handle '/' in file >> path? > > You don't have to do anything as '/' in pathnames can be used under > windows. > > Hans. -- _/\__/\__/\__/\__/\__/\_ www.folksfun.com
Technical Details
Message-ID:
<opr6407zqrpmxkmr@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:
<opr63a5edypmxkmr@newsgroups.borland.com> <408e0ec4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1f7c13931d096f3e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-27 16:09:58 PST Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Open a File with Slash in the File Path References: <opr63a5edypmxkmr@newsgroups.borland.com> <408e0ec4$1@newsgroups.borland.com> Message-ID: <opr6407zqrpmxkmr@newsgroups.borland.com> From: PC Hua <home-AT-huaonline.DOT.com> Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 28 Apr 2004 09:08:13 +1000 User-Agent: Opera7.21/Win32 M2 build 3218 NNTP-Posting-Host: 203.194.21.162 X-Trace: newsgroups.borland.com 1083107293 203.194.21.162 (27 Apr 2004 16:08:13 -0700) Lines: 28 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