0

Hi,
If i have to use managed code with unmanaged code. What are the possible risks?

Thanks in advance.

cliext::vector<int> ^vec = gcnew vector<int>(3);

Edited by sota: n/a

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by thines01
0

If you use Warning Level 4 and "all warnings as errors", you will reduce the risk significantly. Avoid direct casting between managed and unmanaged types.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.