Click here to Skip to main content
15,395,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why the CTreeCtrl disable Pin
yu-jian4-Nov-12 16:35
Memberyu-jian4-Nov-12 16:35 
GeneralRe: Why the CTreeCtrl disable Pin
Richard MacCutchan4-Nov-12 21:22
mveRichard MacCutchan4-Nov-12 21:22 
AnswerRe: Why the CTreeCtrl disable Pin
chaau4-Nov-12 10:57
Memberchaau4-Nov-12 10:57 
AnswerRe: Why the CTreeCtrl disable Pin
Sajeesh Payolam4-Nov-12 19:42
MemberSajeesh Payolam4-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
mveRichard MacCutchan3-Nov-12 21:25 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 9:22
MemberIain Wiseman4-Nov-12 9:22 
I want to disable other processing from locking the file.

When I use CreateFile, this works except it also prevents Xerces from reading the file so the code looks a little like this

C#
m_Handle = CreateFile(
    TEXT(inFullyQualifiedPath.c_str()),
    GENERIC_ALL,
    0,
    NULL,
    OPEN_EXISTING,
    NULL,
    NULL);

    m_ConfigFileParser = new xercesc::XercesDOMParser;
    m_ConfigFileParser->parse(m_Filename.c_str());


The reading of the file fails because Xerces cannot open the file.
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
mveRichard 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
mveRichard MacCutchan5-Nov-12 3:05 
GeneralRe: Lock a file Pin
Iain Wiseman5-Nov-12 8:58
MemberIain Wiseman5-Nov-12 8:58 
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
mveRichard MacCutchan5-Nov-12 22:10 
GeneralRe: Lock a file Pin
Iain Wiseman6-Nov-12 19:29
MemberIain Wiseman6-Nov-12 19:29 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 3:00
mveRichard 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 

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.