Title is No Title

not very good here!

导航

上一页 1 ··· 6 7 8 9 10 11 12 13 下一页

2004年3月22日 #

use /Fe create dll file can not be used by WinApp,only can be used by jni.

摘要: these type dll can not be used by winApp;for example,will apear that can not find func;C:\JNI>cl useDll.cpp user32.libMicrosoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86Copyrig... 阅读全文

posted @ 2004-03-22 16:14 abraham 阅读(669) 评论(0) 推荐(0) 编辑

JNI的简单使用

摘要: JNI的简单使用 以一个最简单的HelloWorld程序来介绍一下JNI的最基本的使用方法:1)首先要有一个HelloWorld.java。这个是主文件,里面包括本地方法的java声明,一个main函数,还有一个静态代码段,用来导入所需要的动态连接库(在windows里是.dll)。代码如下://HelloWorld.javaclass HelloWorld { public native ... 阅读全文

posted @ 2004-03-22 15:56 abraham 阅读(964) 评论(2) 推荐(0) 编辑

first time use JNI success with WinApi .great.

摘要: 1:copy jni.h to project dir,and rename jni2.h,if not alert error,do not know why.2:write a java to use jni,3:use javah create a header file.4:write implemention of the header,useing MsgBox();5:comile ... 阅读全文

posted @ 2004-03-22 15:54 abraham 阅读(529) 评论(0) 推荐(0) 编辑

good place for something.

摘要: http://www.codework.com/cpptools.html 阅读全文

posted @ 2004-03-22 12:03 abraham 阅读(424) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 下一页