What is the best way to access managed DLLs in unmanaged code?
It is best to make your own managed dll to interact with GeoBase and then from that DLL provide interfaces to your application. This means you can do all the interesting things that GeoBase can do in managed code easily and still have full support for your unmanaged application.
You should be trying to expose high level functions from you managed dll, that call lots of GeoBase functions. In the download section there is a framework that wraps some of the GeoBase classes as Com Interfaces. It's generic but serves as a good starting point.
Published, May 17th 2009, 19:25