I am using Code from here, it is a simple code that allows Managed C# class to be used inside a C++ project with CLI bridge. And I am trying to get this working for my testing. But I get this exception :
Unhandled exception at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000). occurred
Exception thrown at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000). Exception thrown at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000). Exception thrown at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000). Exception thrown at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000). Exception thrown at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000). Unhandled exception at 0x00007FFDAA264008 (KernelBase.dll) in Test.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131509, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FFD798F0000).
I tried dependency walker, for the test.exe and I couldn't find any tangible problems except some API-MS-WIN-CORE* dlls missing. It did say one module has an unresolved import due to missing export function , but where do I find this ? It also says 1 circular dependency detected and one not found.
Please advice.