Click here to Skip to main content
11,411,494 members (61,816 online)

C / C++ / MFC

 
AnswerRe: coinitializesecurity failed with error code 800706ba ! PinmemberJochen Arndt4-Nov-12 22:42 
AnswerRe: coinitializesecurity failed with error code 800706ba ! PinmvpRichard MacCutchan4-Nov-12 22:45 
GeneralRe: coinitializesecurity failed with error code 800706ba ! PinmemberLe@rner5-Nov-12 0:43 
GeneralRe: coinitializesecurity failed with error code 800706ba ! PinmvpRichard MacCutchan5-Nov-12 4:10 
QuestionWhy the CTreeCtrl disable[solved] [modified] Pingroupyu-jian4-Nov-12 5:59 
AnswerRe: Why the CTreeCtrl disable PinmvpRichard MacCutchan4-Nov-12 6:13 
GeneralRe: Why the CTreeCtrl disable Pingroupyu-jian4-Nov-12 16:28 
QuestionRe: Why the CTreeCtrl disable PinmemberDavidCrow4-Nov-12 17:18 
AnswerRe: Why the CTreeCtrl disable Pingroupyu-jian4-Nov-12 17:35 
GeneralRe: Why the CTreeCtrl disable PinmvpRichard MacCutchan4-Nov-12 22:22 
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 
GeneralRe: Lock a file PinmemberIain Wiseman5-Nov-12 9:58 
GeneralRe: Lock a file Pinmember SandipG 5-Nov-12 22:53 
GeneralRe: Lock a file PinmvpRichard MacCutchan5-Nov-12 23:10 
GeneralRe: Lock a file PinmemberIain Wiseman6-Nov-12 20:29 
GeneralMessage Removed PinmemberSarath C4-Nov-12 22:42 
GeneralRe: Lock a file PinmvpRichard MacCutchan5-Nov-12 4:00 
AnswerRe: Lock a file PinmemberSarath C5-Nov-12 23:01 
GeneralC CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING PinmemberSTEVE10K3-Nov-12 8:34 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING PinmemberTr@v3-Nov-12 12:15 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING PinmemberSTEVE10K5-Nov-12 8:57 
AnswerRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING [modified] PinmemberTr@v7-Nov-12 8:47 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING PinmemberSTEVE10K8-Nov-12 4:41 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING PinmemberSTEVE10K3-Dec-12 3:49 
QuestionC++ question. Please help me out PinmemberMember 88567522-Nov-12 10:06 
AnswerRe: C++ question. Please help me out Pinmemberjeron12-Nov-12 10:18 
AnswerRe: C++ question. Please help me out PinmvpRichard MacCutchan2-Nov-12 11:23 
AnswerRe: C++ question. Please help me out PinmemberAmarnath S3-Nov-12 21:49 
Questionhow to return value after user input [modified] PinmemberMember 21198442-Nov-12 6:11 
AnswerRe: how to return value after user input PinmvpRichard MacCutchan2-Nov-12 7:25 
GeneralRe: how to return value after user input PinmemberMember 21198442-Nov-12 9:16 
GeneralRe: how to return value after user input PinmvpRichard MacCutchan2-Nov-12 11:19 
AnswerRe: how to return value after user input PinmemberSanthosh G_2-Nov-12 7:34 
GeneralRe: how to return value after user input PinmemberMember 21198442-Nov-12 8:51 
GeneralRe: how to return value after user input PinmemberSanthosh G_2-Nov-12 16:32 
GeneralRe: how to return value after user input PinmemberMember 21198442-Nov-12 18:19 
GeneralRe: how to return value after user input PinmemberSanthosh G_2-Nov-12 18:26 
GeneralRe: how to return value after user input PinmemberMember 21198442-Nov-12 18:33 
GeneralRe: how to return value after user input PinmemberSanthosh G_2-Nov-12 19:01 
GeneralRe: how to return value after user input PinmemberMember 21198442-Nov-12 19:34 
GeneralRe: how to return value after user input PinmemberSanthosh G_2-Nov-12 19:43 

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.150414.5 | Last Updated 25 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid