Click here to Skip to main content

C / C++ / MFC

 
AnswerRe: Why the CTreeCtrl disable PinmemberAndrew Cherednik4-Nov-12 11:57 
AnswerRe: Why the CTreeCtrl disable Pinmembersajeesh.c4-Nov-12 20:42 
Questionhow can i set modem speed when i create rasdial entry. Pinmemberdolpari7013-Nov-12 23:03 
QuestionLock a file PinmemberIain Wiseman3-Nov-12 17:46 
This looked easy but it wasn't
 
I want to
 
1/ Test if I have rights to delete a file
2/ lock it
3/ read it
4/ delete it
 
This is all in one process
 
Gave up on 1/ but tried to use CreateFile to lock it and found xerces-c was not able to access the file for reading in the same process.
 
Any pointers (no pun intended). Not .net just C++/Win32
 
Thanks
Iain
AnswerRe: Lock a file PinmvpRichard MacCutchan3-Nov-12 22:25 
GeneralRe: Lock a file PinmemberIain Wiseman4-Nov-12 10:22 
GeneralRe: Lock a file PinmemberIain Wiseman4-Nov-12 11:58 
GeneralRe: Lock a file PinmvpRichard MacCutchan4-Nov-12 22:06 
GeneralRe: Lock a file PinmemberIain Wiseman4-Nov-12 23:17 
GeneralRe: Lock a file PinmvpRichard MacCutchan5-Nov-12 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid