Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8007203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:45:05+00:00 2026-06-04T17:45:05+00:00

Mixed mode C++ project. Native code is calling managed code. Managed code might throw

  • 0

Mixed mode C++ project. Native code is calling managed code. Managed code might throw an exception. I can catch said exception in native mode using a vectored exception handler; I can see its PEXCEPTION_POINTERS. The telling code 0xE0434F4D, meaning it’s a CLR exception, is there.

Question: is there any way to get any sensible information (exception class, message, stack trace etc.) from the attendant data? There’s one parameter in the ExceptionInformation, and it looks like a pointer to something…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T17:45:07+00:00Added an answer on June 4, 2026 at 5:45 pm

    No, that’s too late. All you got is the exception code. You might get something in ExceptionInformation if the original managed exception was caused by a processor fault. Like NullReference or AccessViolation. This won’t be helpful since you don’t know the original SEH exception anymore. Using COM give you a better mouse trap, the CLR implements IErrorInfo. But the managed code you’re trying to run is probably not [ComVisible]. Calling the code through a managed stub that catches Exception might be a better angle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a VS 2008 Setup and Deployment project to deploy a mixed managed
For my current project, we're using some CLR 2 based mixed mode assemblies. In
I am working with mixed mode assemblies in C++/CLI. All managed mode assembled pdb's
I'm looking at a new project where both Native and Managed approaches sound like
I've written a mixed-mode C++/CLI assembly, which wraps a native C++ library. It compiles
I have a mixed-mode C++/CLI project which is compiled as x86 and x64 frozen
I have the following code in netbeans (using javafx in the same project): public
How to Change from Sql Server Windows mode to Mixed Mode using SQL through
BACKGROUND: I'm using two MVC3 websites for mixed mode authentication. I'm authenticating a person
I have a mixed mode C++-CLI program in Visual Studio 2005 that is set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.