Hang while invoking IXMLDOMDocument::load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sree83
    New Member
    • Jan 2008
    • 7

    Hang while invoking IXMLDOMDocument::load

    Hi All,

    I am new to MSXML. Now i have am facing a strange problem while loading xml file using c++.
    I have a C++ library which is used to parse an xml having server configurations. .
    We have managed C++ bridge to this assembly, for our .NET modules.
    I have a .Net client which tries to get server details from configuration files..but while IXMLDOMDocument ::load is invoked.applica tion hangs.....

    The strangest thing is, this issue occur only in one of our machines. Please note that XP SP3 is used and .NET runtime is installed

    Thanks in advance
  • sree83
    New Member
    • Jan 2008
    • 7

    #2
    RE: Hang while invoking IXMLDOMDocument ::load

    The issue seems to be fixed after I set
    Code:
    pDoc->put_async(VARIANT_FALSE)
    ..

    Earlier it was like
    Code:
    pDoc->put_async(VARIANT_TRUE);		
    pDoc->put_validateOnParse(FALSE);
    pDoc->load(vURL, &vb);
    WaitForCompletion(pDoc);

    but then how it works with all other client machines without any problem.??..Rea lly Confused :(
    Last edited by Dormilich; May 29 '09, 06:50 AM. Reason: added [code] tags

    Comment

    Working...