- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 c#调用c++类库
1.c++ 创建类库(无公共语言运行时)2.添加类mydll.h文件#pragma onceextern "C" _declspec(dllexport) int _stdcall add(int a,int b);mydll.cpp文件#include "stdafx.h"#include "mydll.h"int _stdcall add(int a, int b){ return (a+b);}2.c#using System;using System.Run
2022-01-12 11:38:46
907
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人