How to call c++ function from windows form

前端 未结 0 732
野性不改
野性不改 2020-12-17 16:44

My c++ function is given below,

# define MyFunction _declspec(dllexport)

extern "C" {
MyFunction int AddNumbers(int a, int b)
{
    return a + b;
}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题