How's the C++CLI C# code removed?



  • Perhaps one of the main questions left is how the C++CLI exemptions are handled.

    C++CLI combines a controlled and unmanageable code and adds to a C# code controlled.

    As on the C# side, correctly process C++CLI exemptions:

    • If there is no code in the controlled part CLI try\catch blocks <exception>?

    • If the code is in the controlled part CLI try\catch blocks <exception>? Keep moving?

    • If on the side of the uncontrollable code AcсessViolationand in the controlled part CLI this method is in the block try\catch - Is the annex falling?



  • The exceptions between libraries and languages should be deleted.

    There is no fixed ABI in C++, even different versions of the compiler can be performed in different ways.

    If you want a reliable and transportable code, you'll have to contain exceptions within one binary.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2