If your DLL is a COM DLL you could consider using interop. Also you can write a C++/CLI component which allows access to managed & unmanaged code, create a managed (ref) class and call unmanaged code from it.
-----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Mark Nicholls Sent: 16 November 2007 16:25 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] calling c++ dll from C#.... Hello, can someone give me some advice about calling a unmanaged C++ dll from C#.....it also uses templates from the STL......it all sounds a bit horrible....any advice....or (good) articles on the web somewhere. =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com