Article View: borland.public.cppbuilder.nativeapi
Article #9632Re: FindFirst, should i use WideString or AnsiString?
From: Remy Lebeau (TeamB)
Date: Fri, 25 Jun 2004 01:09
Date: Fri, 25 Jun 2004 01:09
14 lines
1387 bytes
1387 bytes
"Jaepil Kim" <jaepil@splashmedia.co.nz> wrote in message news:40db75c9$1@newsgroups.borland.com... > As stated on the title. Should i use WideString or AnsiString > for such file functions? If you look at the actual declarations for the functions, you will find that FindFirstFile() takes a char* or wchar_t* as the filename depending on whether the OS itself supports Unicode or not. For the char* version, you can use AnsiString. For the wchar_t* version, you can use WideString. Gambit
Technical Details
Message-ID:
<40db7c2a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40db75c9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,cfe47f3ef5687e9d X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40db75c9$1@newsgroups.borland.com> Subject: Re: FindFirst, should i use WideString or AnsiString? Date: Thu, 24 Jun 2004 18:09:30 -0700 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.169.168.124 Message-ID: <40db7c2a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1088125994 68.169.168.124 (24 Jun 2004 18:13:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail