Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2004, 08:26 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default check file open

Hi,

how to check wheather the given file is already opened ?????



 
Old September 15th, 2004, 07:44 PM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if CreateFile returns INVALID_HANDLE_VALUE check GetLastError for ERROR_ACCESS_DENIED.






Similar Threads
Thread Thread Starter Forum Replies Last Post
check if file is already open carrie09 Excel VBA 4 September 5th, 2007 01:54 AM
mdi form check to see if childforms are open RainX C# 2005 0 August 28th, 2007 12:55 PM
Open the "Open File" dialogue box piratelordx Access VBA 4 March 14th, 2006 10:08 PM
Check for file open bala_7272 C++ Programming 0 September 6th, 2004 08:27 AM
check if file is an image file silver_cuts Classic ASP Basics 10 June 30th, 2004 12:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.