Is the native API that you are going to use comprised of functions only or
does it have COM-visible objects?
If you are going to use functions from the external DLL, you will have to
use P/Invoke. Otherwise, you can add a reference to the library to your
project and Visual Studio will attempt to generate a wrapper around the COM
functionality for you to use.
--
Stanimir Stoyanov
http://stoyanoff.info
"David" <no****@spam.comwrote in message
news:uj**************@TK2MSFTNGP02.phx.gbl...
I've to write a C# app that interfaces with a 3rd party aPI that is
written in C++
How do I write a .NET wrapper instead of using Pinvoke? Any good examples
or books that will help explain it to me?
Thanks