I have created a C++ Dll project which contains a class \"myCppClass\" and tried to Dll export it using the following code as described by: http://msdn.microsoft.com/en-us/l
C# and C++ are NOT ABI compatible like C++ and Delphi, so you cannot export virtual class members (methods) and declare them purely virtual on the calling side an invoke them, because C# cannot handle vtbl's of C++ objects. I would suggest you to wrap your C++ classes by COM, so you have another positive side effect, that other COM compatible languages can use your classes too.