The manual is your friend. Under "Other languages" is described how to create a DLL with VC++.