🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8604

Re: How to check a HANDLE?

#8604
From: Remy Lebeau (TeamB)
Date: Thu, 07 Oct 2004 16:51
12 lines
1237 bytes
"Ed Mulroy [TeamB]" <dont_email_me@invalid.com> wrote in message
news:41655db3@newsgroups.borland.com...

> I wish to verify the handle passed to my function and then use it for file
access.

Why not just use the file handle as-is and then catch any errors that result
from using an invalid handle?


Gambit
Technical Details
Message-ID: <41657423$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.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
References: <416541a3@newsgroups.borland.com> <41654815$1@newsgroups.borland.com> <41655db3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d6f466f618c24d8b
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:  <416541a3@newsgroups.borland.com> <41654815$1@newsgroups.borland.com> <41655db3@newsgroups.borland.com>
Subject: Re: How to check a HANDLE?
Date: Thu, 7 Oct 2004 09:51:51 -0700
Lines: 14
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: <41657423$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097167907 68.69.17.41 (7 Oct 2004 09:51:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.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