Hi,
I'm moving code from VC 6.0 to VC2005. I noticed that some code I can
build and run in VC 2005 with CLR support. But once I put them into a
project which support CLR, I got error "AccessViolationException"
during run-time.
Could anyone help with that? Why is there such a difference?
Carl Daniel [VC++ MVP] - 01 Nov 2007 15:52 GMT
> Hi,
>
[quoted text clipped - 4 lines]
>
> Could anyone help with that? Why is there such a difference?
Most likely, because your code has undefined behavior which gave the
appearance of working under VC6. You're going to have to narrow down the
code that's causing the AV to figure out what's going on, or for anyone to
give you more than very generic advice.
-cd