User Profile

Collapse

Profile Sidebar

Collapse
sree83
sree83
Last Activity: Sep 30 '10, 11:30 AM
Joined: Jan 3 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sree83
    replied to Hang while invoking IXMLDOMDocument::load
    in XML
    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...
    See more | Go to post
    Last edited by Dormilich; May 29 '09, 06:50 AM. Reason: added [code] tags

    Leave a comment:


  • sree83
    started a topic Hang while invoking IXMLDOMDocument::load
    in XML

    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...
    See more | Go to post

  • sree83
    replied to Handling unmanaged exceptions in managed code
    in .NET
    .Thanks for the reply...
    But still i am not sure whether the exception is raised when any method is invoked from the managed code...

    There are 2 unmanaged modules in use..one for logging purpose and the other for enabling a communication with another server....Both of them manage a lot of threads within them...

    so where to put the try-catch statement to catch exceptions which may be raised from some other threads...
    See more | Go to post

    Leave a comment:


  • sree83
    started a topic Handling unmanaged exceptions in managed code
    in .NET

    Handling unmanaged exceptions in managed code

    Hi All,

    I am having an executable developed in C#.Net. My app make use of services from some unmanaged dlls it loads. My problem is that my application is termainted due to some exceptions within these unmanaged codes. I tried AppDomain UnhandledExcept ionEventHandler and ThreadException EventHandler... .but it fails to catch the excpetions...

    Can anyone tell me how to handle the unmanaged exceptions in manged code...
    See more | Go to post

  • sree83
    replied to Remoting connection timed out
    Hi all,

    I find out the problem...one of the clients create a new connection, each time it is invoking some method in the server...


    Thanks for the support...
    See more | Go to post

    Leave a comment:


  • sree83
    started a topic Remoting connection timed out

    Remoting connection timed out

    I have a remoting server. I have an unmanaged client and some screens(in C#) that use the server. When the clients are up, they get connected to the server and is working fine..but after 1 or 2 hours the connection to the server gets broken.
    Lifetime of the sever is leased to infinite....

    I have a class RemotingBase which is derived from MarshalByRefObj ect and also InitializeLifet imeService is overriden as follows
    ...
    See more | Go to post

  • sree83
    started a topic Executing methods in atomic manner
    in .NET

    Executing methods in atomic manner

    i am learning the c#. i want to know how can i ensure that a method get executed in atomic manner.

    I read about lock and [MethodImpl(Meth odImplOptions.S ynchronized)]....both prevents multiple threads from accessing a code concurrently.

    Is this ensure the block get executed without thread switching...the thread from getting switched in middle of executing the block.


    Code:
    Class ClassCalc
    ...
    See more | Go to post
No activity results to display
Show More
Working...