摘要: 函数加这个 extern "C" _declspec(dllexport) int mymain(); 属性->配置属性->常规->配置类型 选动态库.dll java调用 import com.sun.jna.*; public class Main { public interface CLib 阅读全文
posted @ 2021-02-05 18:10 cnchengv 阅读(28) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> extern "C" { #include <SDL.h> #include "libavutil/opt.h" #include "libavutil/channel_layout.h" #include "libavu 阅读全文
posted @ 2021-02-05 10:12 cnchengv 阅读(105) 评论(0) 推荐(0)