CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Oct 2000
    Location
    Ottawa, CANADA. (CNADA ROCKS!!)
    Posts
    1,895

    In C#, how to get the error string from a failled COM call to a C++ COM dll

    I am calling a COM method written in c++ and exception is thrown.
    I can catch the Exception, but the description is not filled up, The C++ interface do not implement IErrorInfo.
    the exception thrown is a SystemException. If I call this method in vb script I get the error string. but I am in C# how do I get the error string.

    Thanks in advance
    Last edited by IndikaNiva; November 29th, 2016 at 06:56 PM.
    and Canada rocks!! Peace bro.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured