jelin's blog

成功来自思想,行动决定成败!

导航

2008年9月30日 #

JAVA中使用第三方dll文件并调用其中的方法,如VB

摘要: 示例:using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace Example03{ class Program { //注意DllImport是一个Attribute Property,在System.Runtime.InteropServices命名空间中定义 //extern与DllImport一起使用时必须再加上一个static修饰符 [DllImport("User32... 阅读全文

posted @ 2008-09-30 13:34 jelin 阅读(260) 评论(0) 推荐(0)