Home/ASP.NET Forums/.NET Languages/IronPython, IronRuby, and Other Languages/Debugging C++ DLL in ASP.NET

Debugging C++ DLL in ASP.NET [Answered]RSS

13 replies

Last post Apr 29, 2007 01:17 PM by Li_Zhang

  • pickyh3d

    pickyh3d

    Star

    9696 Points

    1955 Posts

    Re: Debugging C++ DLL in ASP.NET

    Apr 28, 2007 05:41 AM|pickyh3d|LINK

    Do you have the C++ code for GetTitle? What is the exception that is happening? Memory violation? Something else?

    If it works some times, then it is the C++ code at fault.  If you have the C++ code, then debugging the C++ code will be a lot easier even if it means just someone reading it (again, you should try to use a console or some other C++ app to debug it natively).

    By the way, you can pass the 5000 as sbTitleResult.Capacity:

    GetTitle(strParserResult, strParserResult.Length, sbTitleResult, sbTitleResult.Capacity);

    That way if you needed to pass the StringBuilder from some other function, you could determine the buffer size.

    Picky
  • Li_Zhang

    Li_Zhang

    Member

    4 Points

    10 Posts

    Re: Debugging C++ DLL in ASP.NET

    Apr 29, 2007 10:20 AM|Li_Zhang|LINK

    "you can pass the 5000 as sbTitleResult.Capacity"

    Thanks for your suggestions, picky.

  • Li_Zhang

    Li_Zhang

    Member

    4 Points

    10 Posts

    Re: Debugging C++ DLL in ASP.NET

    Apr 29, 2007 01:17 PM|Li_Zhang|LINK

     

    [:D]

    Just now, someone has helped me solved the problem of debugging C++ DLL in ASP.net,

    Now I can step into and trace.

    Now we can make a conclusion that C++ DLL can be debugged in ASP.net.

     

    Thanks all for your help!   ^_^

     

  • ‹ Previous Thread|Next Thread ›