Click here to Skip to main content
12,451,425 members (58,307 online)

C / C++ / MFC

 
QuestionRe: Why the CTreeCtrl disable Pin
DavidCrow4-Nov-12 16:18
memberDavidCrow4-Nov-12 16:18 
AnswerRe: Why the CTreeCtrl disable Pin
yu-jian4-Nov-12 16:35
groupyu-jian4-Nov-12 16:35 
GeneralRe: Why the CTreeCtrl disable Pin
Richard MacCutchan4-Nov-12 21:22
mvpRichard MacCutchan4-Nov-12 21:22 
AnswerRe: Why the CTreeCtrl disable Pin
Andrew Cherednik4-Nov-12 10:57
memberAndrew Cherednik4-Nov-12 10:57 
AnswerRe: Why the CTreeCtrl disable Pin
sajeesh.c4-Nov-12 19:42
membersajeesh.c4-Nov-12 19:42 
Questionhow can i set modem speed when i create rasdial entry. Pin
dolpari7013-Nov-12 22:03
memberdolpari7013-Nov-12 22:03 
QuestionLock a file Pin
Iain Wiseman3-Nov-12 16:46
memberIain Wiseman3-Nov-12 16:46 
AnswerRe: Lock a file Pin
Richard MacCutchan3-Nov-12 21:25
mvpRichard MacCutchan3-Nov-12 21:25 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 9:22
memberIain Wiseman4-Nov-12 9:22 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 10:58
memberIain Wiseman4-Nov-12 10:58 
GeneralRe: Lock a file Pin
Richard MacCutchan4-Nov-12 21:06
mvpRichard MacCutchan4-Nov-12 21:06 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 22:17
memberIain Wiseman4-Nov-12 22:17 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 3:05
mvpRichard MacCutchan5-Nov-12 3:05 
GeneralRe: Lock a file Pin
Iain Wiseman5-Nov-12 8:58
memberIain Wiseman5-Nov-12 8:58 
I am simply after in one process being able to prevent someone else opening a file whilst I am reading it. I do not have control over the opening of the file as this is done within the Xerces library. The file is an xml file hence the use of xerces. Once I have completed the read I want to sometimes delete the file.

Ideally I would have like to in my process

Check I have exclusive rights to the file
Read it using xerces
Delete it
GeneralRe: Lock a file Pin
SandipG 5-Nov-12 21:53
member SandipG 5-Nov-12 21:53 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 22:10
mvpRichard MacCutchan5-Nov-12 22:10 
GeneralRe: Lock a file Pin
Iain Wiseman6-Nov-12 19:29
memberIain Wiseman6-Nov-12 19:29 
GeneralMessage Removed Pin
Sarath C4-Nov-12 21:42
memberSarath C4-Nov-12 21:42 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 3:00
mvpRichard MacCutchan5-Nov-12 3:00 
AnswerRe: Lock a file Pin
Sarath C5-Nov-12 22:01
memberSarath C5-Nov-12 22:01 
GeneralC CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K3-Nov-12 7:34
memberSTEVE10K3-Nov-12 7:34 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v3-Nov-12 11:15
memberTr@v3-Nov-12 11:15 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K5-Nov-12 7:57
memberSTEVE10K5-Nov-12 7:57 
AnswerRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v7-Nov-12 7:47
memberTr@v7-Nov-12 7:47 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K8-Nov-12 3:41
memberSTEVE10K8-Nov-12 3:41 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K3-Dec-12 2:49
memberSTEVE10K3-Dec-12 2:49 
QuestionC++ question. Please help me out Pin
Member 88567522-Nov-12 9:06
memberMember 88567522-Nov-12 9:06 
AnswerRe: C++ question. Please help me out Pin
jeron12-Nov-12 9:18
memberjeron12-Nov-12 9:18 
AnswerRe: C++ question. Please help me out Pin
Richard MacCutchan2-Nov-12 10:23
mvpRichard MacCutchan2-Nov-12 10:23 
AnswerRe: C++ question. Please help me out Pin
Amarnath S3-Nov-12 20:49
memberAmarnath S3-Nov-12 20:49 
Questionhow to return value after user input Pin
Member 21198442-Nov-12 5:11
memberMember 21198442-Nov-12 5:11 
AnswerRe: how to return value after user input Pin
Richard MacCutchan2-Nov-12 6:25
mvpRichard MacCutchan2-Nov-12 6:25 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 8:16
memberMember 21198442-Nov-12 8:16 
GeneralRe: how to return value after user input Pin
Richard MacCutchan2-Nov-12 10:19
mvpRichard MacCutchan2-Nov-12 10:19 
AnswerRe: how to return value after user input Pin
Santhosh G_2-Nov-12 6:34
memberSanthosh G_2-Nov-12 6:34 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 7:51
memberMember 21198442-Nov-12 7:51 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 15:32
memberSanthosh G_2-Nov-12 15:32 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 17:19
memberMember 21198442-Nov-12 17:19 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 17:26
memberSanthosh G_2-Nov-12 17:26 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 17:33
memberMember 21198442-Nov-12 17:33 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 18:01
memberSanthosh G_2-Nov-12 18:01 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 18:34
memberMember 21198442-Nov-12 18:34 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 18:43
memberSanthosh G_2-Nov-12 18:43 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 20:02
memberMember 21198442-Nov-12 20:02 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 20:27
memberSanthosh G_2-Nov-12 20:27 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 21:05
memberMember 21198442-Nov-12 21:05 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 21:41
memberSanthosh G_2-Nov-12 21:41 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 23:24
memberMember 21198442-Nov-12 23:24 
GeneralRe: how to return value after user input Pin
Richard MacCutchan3-Nov-12 1:56
mvpRichard MacCutchan3-Nov-12 1:56 
GeneralRe: how to return value after user input Pin
Member 21198443-Nov-12 4:40
memberMember 21198443-Nov-12 4:40 

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.160826.1 | Last Updated 28 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid