Author | Message | Time |
---|---|---|
iNsaNe | So recently I've been making a program that is just for the benefit of my knowledge: how to incorporate unmanaged code with managed code. I've been using C# and C++ 6. When I was finished writing and debugging my code, the program worked perfect. From there I decided to copy over the code from C++ 6 to C++ 2008 just to see which I liked better. Of course, there were minor errors in the code that I had to make because of the two different compilers but I kept the code exactly the same. When I ran the program again I got a bunch of runtime errors, especially with vectors and protected memory. Any explanation? ugh. wrong forum. | April 13, 2009, 3:35 AM |
Myndfyr | So which pieces of your code should be managed or unmanaged? You'll need to define a good boundary and interface or set of interfaces between your unmanaged and managed code, or else you'll run into substantial performance problems. | April 13, 2009, 4:56 AM |