views:

56

answers:

0

Hi,

I have an managed c# application that uses expression encoder 4 SDK, and thus requires .NET 4 and hence VS2010. I wish to startup and stop this application as an in process DLL.

This article and demo on code project proved a very useful proof of principle

http://www.codeproject.com/KB/mcpp/ijw_unmanaged.aspx

The included demo works fine on VS2008, exactly as I would like to use it.

However, if I then import the project into VS2010 I get an Heap exception, when calling into the managed object. There is no information out of the debugger where the exception is occurring, the usual ntdll.dll.

I can't think the handling of Unmanaged Code has changed in any way for VS2010?

Any help greatly appreciated

Tim