Monday, January 9, 2017

Creating Dynamic Link Library (DLL) in C++ and Using it in Visual Basic .NET

I need to create a DLL (Dynamic Link Library) to be used in Visual Basic .NET 2012 (vs11). And I want to write the DLL in C++. Two different ways to accomplish the task are discussed below.

  • CLR Class Library
  • Win32 DLL