Article View: borland.public.cppbuilder.nativeapi
Article #4097Re: FindFirst Open File Error
From: Remy Lebeau (TeamB)
Date: Wed, 15 Mar 2006 01:16
Date: Wed, 15 Mar 2006 01:16
14 lines
1256 bytes
1256 bytes
"Orlando Lopez" <hlopezrd@hotmail.com> wrote in message
news:44170bbb$1@newsgroups.borland.com...
> TStream *file = new TFileStream(this->AppPath + sr.Name,
fmOpenRead); // << I;m getting Open File error
You are not specifying any sharing rights:
TStream *file = new TFileStream(this->AppPath + sr.Name, fmOpenRead |
fmShareDenyWrite);
Gambit
Technical Details
Message-ID:
<44176abd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44170bbb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dfd9baf79c8d00b4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44170bbb$1@newsgroups.borland.com> Subject: Re: FindFirst Open File Error Date: Tue, 14 Mar 2006 17:16:56 -0800 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.69.17.41 Message-ID: <44176abd$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1142385341 68.69.17.41 (14 Mar 2006 17:15:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail