954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Programmer Advice

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);
sota
Newbie Poster
11 posts since Feb 2012
Reputation Points: 10
Solved Threads: 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.

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You