hello all,<br>we're building a mapserver plugin dll for a custom vector source, so that client apps such as ArcMap and Geomedia can access this source thru WMS.&nbsp; This as an alternative to using a proprietary ActiveX client plugin in IE.<br><br>anyway, my plugin dll is dependent on libmap.dll at runtime and therefore links with mapserver_i.lib.&nbsp; so far so good.<br><br>But we also want to link with a COM dll that has been built in MSVC/C++6 and one of the functions we want to use has a return param that is a complex object/"collection"/"VARIANT" type that will be foreign to the conventional C in mapserver.<br><br>We couldn't link to the import library of this COM dll, so we had to create a parallel straight-C version without the VARIANT object, and were able to link with its import lib and run with the dll just fine.<br><br>But this is an unwanted parallel creation that we want to retire.<br><br>Question: does anyone know how I might make use of the COM dll in my
 mapserver plugin, which I'm building in Visual Studio .NET 2003 ("vc7" I guess).&nbsp; A wider exploration has given me hints of such things as functions LoadLibrary( ) and GetProcAddress( ), plus there's the dlopen( ) that mapserver uses to grab my plugin, if that is of any help here.<br><br>thanks from an old UNIX programmer,<br>REH<br>