| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT cygwin DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT cygwin DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Mail-Followup-To: | cygwin-apps AT cygwin DOT com |
| Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
| Subject: | RE: Re[2]: setup.exe and inuse files for X |
| MIME-Version: | 1.0 |
| Date: | Thu, 16 May 2002 18:59:27 +1000 |
| Message-ID: | <FC169E059D1A0442A04C40F86D9BA7600C60D4@itdomain003.itdomain.net.au> |
| X-MS-Has-Attach: | |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
| content-class: | urn:content-classes:message |
| X-MS-TNEF-Correlator: | |
| From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
| To: | "Pavel Tsekov" <ptsekov AT syntrex DOT com> |
| Cc: | <cygwin-apps AT cygwin DOT com>, <cygwin-xfree AT sources DOT redhat DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g4G8xes11353 |
Does this work on FAT too?
Rob
> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com]
> Sent: Thursday, May 16, 2002 6:33 PM
Ok here is how to fix this issues I've just tried it on my XP Home and
it worked fine.
HANDLE h = CreateFile("test.c",
DELETE,
0, // We want it all :)
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_READONLY /*to be compatible*/
| FILE_FLAG_DELETE_ON_CLOSE, NULL);
CloseHandle (h);
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |