delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-Id: | <45DAF5100200005200000866@BJUMAIL.bju.edu> |
X-Mailer: | Novell GroupWise Internet Agent 7.0.1 |
Date: | Tue, 20 Feb 2007 13:18:03 -0500 |
From: | "Kirk Russell" <Krussell AT bju DOT edu> |
To: | <cygwin AT cygwin DOT com> |
Subject: | CreateFile() and fopen issues on vista |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l1KIIpIB003998 |
Hi, I am trying to port a program from Windows XP to Vista and am running into several issues. 1) When I issue an fopen of a file with "rb" or "wb" modes they fails. I have since switched to just a "r" and "w" and it now works. This was not an issue on XP. 2) When I issue a CreateFile() function call against f: which is a USB drive an invalid handle error is returned. I would appreciate any help solving this. Some of the things that I have done are. a) Ran as the admin user b) created a manifest file to run the process as admin c) Ran CreateFile() on a directory (f://test) and not the root for the USB drive (f:) d) Turned off UAC Kirk Kirk Russell IT BJU 864 242 5100 x3884 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |