demo 2
Python调用DLL与回调_夜星繁的博客-CSDN博客_python调用dll返回字符串
cpp 加入:
#include <stdio.h>
#include <string.h>
#include <windows.h>
#define API_DLL __declspec(dllexport)
#define CALL_TYPE __stdcall
// #define CALL_TYPE __cdecl
extern "C" {
API_DLL int CALL_TYPE dllDebug(int a, int * iParam, char * oParam);
API_DLL void CALL_TYPE dllRegisterPythonFun ... ...
去创作