Article View: borland.public.cppbuilder.internet.socket
Article #3780Re: Socket problem setting port and connecting.
From: Remy Lebeau (TeamB)
Date: Wed, 27 Apr 2005 18:37
Date: Wed, 27 Apr 2005 18:37
21 lines
1707 bytes
1707 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:277v611esvpat0horu0mqf5ir1hvp1bbep@4ax.com... > Just wondering if "delete file" closes the file first. Yes, TFileStream's destructor closes the file. > The docs only mention that it releases the handle. Releasing a file handle closes the file. > Perhaps > FileClose( file->Handle); > delete file; > would fix a part of the problem? TFileStream's destructor already calls FileClose(). Gambit
Technical Details
Message-ID:
<426fdb66@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42638bd3$1@newsgroups.borland.com> <4263a52c@newsgroups.borland.com> <426abd97@newsgroups.borland.com> <426bf467$1@newsgroups.borland.com> <426e472d$1@newsgroups.borland.com> <426e737e$1@newsgroups.borland.com> <426e9298@newsgroups.borland.com> <426eaf63@newsgroups.borland.com> <426f51a5@newsgroups.borland.com> <277v611esvpat0horu0mqf5ir1hvp1bbep@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,87ef1514521c3f8d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <42638bd3$1@newsgroups.borland.com> <4263a52c@newsgroups.borland.com> <426abd97@newsgroups.borland.com> <426bf467$1@newsgroups.borland.com> <426e472d$1@newsgroups.borland.com> <426e737e$1@newsgroups.borland.com> <426e9298@newsgroups.borland.com> <426eaf63@newsgroups.borland.com> <426f51a5@newsgroups.borland.com> <277v611esvpat0horu0mqf5ir1hvp1bbep@4ax.com> Subject: Re: Socket problem setting port and connecting. Date: Wed, 27 Apr 2005 11:37:45 -0700 Lines: 23 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: <426fdb66@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1114626918 68.69.17.41 (27 Apr 2005 11:35:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail