Click here to Skip to main content
12,623,027 members (36,572 online)

C / C++ / MFC

 
GeneralRe: Why the CTreeCtrl disable Pin
yu-jian4-Nov-12 16:28
groupyu-jian4-Nov-12 16:28 
QuestionRe: Why the CTreeCtrl disable Pin
DavidCrow4-Nov-12 17:18
memberDavidCrow4-Nov-12 17:18 
AnswerRe: Why the CTreeCtrl disable Pin
yu-jian4-Nov-12 17:35
groupyu-jian4-Nov-12 17:35 
GeneralRe: Why the CTreeCtrl disable Pin
Richard MacCutchan4-Nov-12 22:22
mvpRichard MacCutchan4-Nov-12 22:22 
AnswerRe: Why the CTreeCtrl disable Pin
Andrew Cherednik4-Nov-12 11:57
memberAndrew Cherednik4-Nov-12 11:57 
AnswerRe: Why the CTreeCtrl disable Pin
sajeesh.c4-Nov-12 20:42
membersajeesh.c4-Nov-12 20:42 
Questionhow can i set modem speed when i create rasdial entry. Pin
dolpari7013-Nov-12 23:03
memberdolpari7013-Nov-12 23:03 
QuestionLock a file Pin
Iain Wiseman3-Nov-12 17:46
memberIain 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 Pin
Richard MacCutchan3-Nov-12 22:25
mvpRichard MacCutchan3-Nov-12 22:25 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 10:22
memberIain Wiseman4-Nov-12 10:22 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 11:58
memberIain Wiseman4-Nov-12 11:58 
GeneralRe: Lock a file Pin
Richard MacCutchan4-Nov-12 22:06
mvpRichard MacCutchan4-Nov-12 22:06 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 23:17
memberIain Wiseman4-Nov-12 23:17 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 4:05
mvpRichard MacCutchan5-Nov-12 4:05 
GeneralRe: Lock a file Pin
Iain Wiseman5-Nov-12 9:58
memberIain Wiseman5-Nov-12 9:58 
GeneralRe: Lock a file Pin
SandipG 5-Nov-12 22:53
member SandipG 5-Nov-12 22:53 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 23:10
mvpRichard MacCutchan5-Nov-12 23:10 
GeneralRe: Lock a file Pin
Iain Wiseman6-Nov-12 20:29
memberIain Wiseman6-Nov-12 20:29 
GeneralMessage Removed Pin
Sarath C4-Nov-12 22:42
memberSarath C4-Nov-12 22:42 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 4:00
mvpRichard MacCutchan5-Nov-12 4:00 
AnswerRe: Lock a file Pin
Sarath C5-Nov-12 23:01
memberSarath C5-Nov-12 23:01 
GeneralC CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K3-Nov-12 8:34
memberSTEVE10K3-Nov-12 8:34 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v3-Nov-12 12:15
memberTr@v3-Nov-12 12:15 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K5-Nov-12 8:57
memberSTEVE10K5-Nov-12 8:57 
AnswerRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v7-Nov-12 8:47
memberTr@v7-Nov-12 8:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web02 | 2.8.161128.1 | Last Updated 2 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid