Home > Software engineering >  The old man! How to create a DLL external call interface function,
The old man! How to create a DLL external call interface function,

Time:09-24

//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
  • Related