Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » How to check, if a file is locked by another application?
Re: How to check, if a file is locked by another application? [message #7246 is a reply to message #7245] Tue, 19 December 2006 13:26 Go to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Well you can use FileStream instead of FileIn and use
::Open(const char* filename, READWRITE | NOREADSHARE | NOWRITESHARE)

[Edit: ] you can use FileStream(const char* filename, READWRITE | NOREADSHARE | NOWRITESHARE) , too

this way you try to open the file exclusive.

Bas

[Updated on: Tue, 19 December 2006 13:30]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: How to cast String to int64?
Next Topic: brc sample problem
Goto Forum:
  


Current Time: Fri Jul 18 15:29:21 CEST 2025

Total time taken to generate the page: 0.00659 seconds