apologies in advance if this topic has already been covered, but my
search in the newsgroups has yet to reveal the secret formula.
I've got a .NET C# application that invokes a classic C++ .DLL using
DllImport. I'm working at source level with both .NET and the C++
DLL. The DLL exports now appear to be mismatched to the C# wrappers.
For a reasonably large set of APIs this has now become a maintenance
issue. My hunch is that a reference was originally added to the C#
project, and now it needs to be reinvoked or refreshed so to speak to
update the wrapper marshalling.
If not from within VS.NET, is there something like type library
importer to generate the C# wrappers from the C++ DLL exports ?
any ideas would be greatly appreciated....
/netguy
John Duval - 18 Jul 2006 18:15 GMT
Hi onramp123,
I don't know of any way to do this but you might want to check out this
tool:
http://www.paulyao.com/resources/tools/pinvoke.asp
Hope that helps.
John
> apologies in advance if this topic has already been covered, but my
> search in the newsgroups has yet to reveal the secret formula.
[quoted text clipped - 13 lines]
>
> /netguy