///////////////////////////////////////////////////////////////////////////// // CppCLIwrapperLib.cpp - C++\CLI library wrapper of C++ NativeSLL library // // // // Jim Fawcett, CSE775 - Distributed Objects, Summer 2010 // ///////////////////////////////////////////////////////////////////////////// /* Note that there are no declspec export declarations. Managed code takes care of the import/export indentities for you. */ #include "stdafx.h" #include "CppCLIwrapperLib.h" using namespace CppCLIwrapperLib; CNativeSLLwrapper::CNativeSLLwrapper() { Console::Write("\n Constructing instance of C++\\CLI CNativeSLLwrapper"); pCNSLL = new CNativeSLL(); } void CNativeSLLwrapper::delegateToSay() { pCNSLL->say(); }