   Looking for a sample to develop DLL with managed C++
  I have never written a DLL with managed C++, and a sample will help me lots. Could anybody please recommend me a link?Thank you!   
  You don't want to use Managed C++ ("Managed C++" was the name of a set of extensions to the C++ language shipped in the pre-2008 editions of the Visual Studio toolchain). You want to use C++/CLI, which is its own standardized language and is available in the 2008 editions of the VS toolchain.One of the bonus chapters in Game Engine Toolset Design goes over creating a managed wrapper DLL. You could additionally look at the code of something like SlimDX although I would caution that source code isn't a great learning aid and that SlimDX's code in particular can be... subtle. Unless you are looking for very specific examples such as how to marshal a native string to a managed one, or something.   ;  That is great. Thank you very much for sharing!   