タグ

JNIに関するpenultのブックマーク (2)

  • com4j: com4j

    This project aims to develop: A Java library that allows Java applications to seemlessly interoperate with Microsoft Component Object Model. A Java tool that imports a COM type library and generates the Java definitions of that library. The goal of the project is to provide a better integration of Java and COM. Feature Highlights Takes advantages of J2SE 1.5 features to improve usability. Binds di

    penult
    penult 2009/07/01
    JavaからCOMコンポーネントを呼び出せるライブラリ。タイプライブラリからJava側の必要クラスを生成するツール付き。
  • jna: Java Native Access(JNA)ホーム

    Java Native Access (JNA): access native libraries with pure Java code.Unsigned types use the same mappings as signed types. A full list of mappings may be found here. Top Using Pointers and Arrays Primitive array arguments (including structs) are represented by their corresponding Java types. For example: // Original C declarations void fill_buffer(int *buf, int len); void fill_buffer(int buf[], i

    penult
    penult 2009/05/10
    JNI無しで、Javaからネイティブライブラリに動的にアクセス。.NET の P/invoke と似たような方法。
  • 1