//ClassLibrary1. H
# pragma once
# include & lt; Stdio. H>
Using the namespace System;
The namespace ClassLibrary1 {
Public ref class Class1
{
//TODO: add such methods here,
String aaa ()
{
Printf (" eldest brother, you transferred to me ");
}
};
}
How to provide external interface?
CodePudding user response:
Extern "C" __declspec (dllexport) or def interface specification file, create a DLL project