Quote Originally Posted by darwen View Post
Dont link to the C# .NET assembly via it's .lib file, add the dll as a reference to the project.

Darwen.
Darwen,

Thanks, that's how I am using the .NET assembly and that is working fine.

My problem is how to also include (link, reference, whatever) the native C API which is in the form a .LIB and a .DLL. Can I include the .LIB file using Project>Add Existing Iterm? Or do I reference the .DLL using Project>Options>Linker>Input>Additional Dependencies?

The problem I'm having seems to be with the "/CLR: pure" compile & link options. I will try again making everything /CLR instead.

Jeff