| 1. | Introduction |
| 1.1. | About This Guide |
| 1.2. | New in This Version |
| 1.3. | Related Documents |
| 1.4. | About JNIWrapper |
| 1.4.1. | Technical Advantages |
| 1.4.2. | New in This Release |
| 2. | Getting Started |
| 2.1. | System Requirements |
| 2.1.1. | Other Platforms |
| 2.2. | Package Contents |
| 3. | Configuring JNIWrapper |
| 3.1. | Library JAR File |
| 3.2. | Native Code Library |
| 3.3. | License File |
| 4. | Working with Native Libraries and Functions |
| 4.1. | Finding Native Libraries |
| 4.2. | Using DefaultLibraryLoader |
| 4.3. | Loading Native Libraries |
| 4.4. | Getting Functions from a Native Library |
| 4.4.1. | Managing Library's Global Variables |
| 4.5. | Calling Conventions |
| 4.5.1. | Calling Conventions on Windows |
| 4.5.2. | Calling Conventions on Linux/Mac OS X |
| 5. | Passing Parameters to/from Native Code |
| 5.1. | Primitive Types |
| 5.1.1. | Mappings of Native Types to JNIWrapper Classes |
| 5.2. | Structures and Unions |
| 5.2.1. | Setting Structure Alignment |
| 5.2.2. | Setting an Active Union Member |
| 5.3. | Pointers |
| 5.3.1. | Function Pointers |
| 5.3.2. | ArithmeticalPointer Class |
| 5.3.3. | Casting Pointers |
| 5.4. | Arrays |
| 5.4.1. | Pointers to Array Contents |
| 5.4.2. | Controlling Memory Allocation for Arrays |
| 5.5. | Strings |
| 5.5.1. | Str Class |
| 5.5.2. | StringArray Class |
| 5.6. | Enumerations |
| 6. | Calling Native Functions |
| 6.1. | Calling Conventions |
| 6.1.1. | A Quick Way to Call a Function |
| 6.2. | Using Callbacks |
| 7. | Working with Multithreading |
| 7.1. | Parameters |
| 7.2. | Functions |
| 8. | Code Generator for JNIWrapper |
| 8.1. | Overview |
| 8.2. | Running Code Generator for JNIWrapper |
| 8.3. | Specifying Input Parameters and Options |
| 8.4. | Using Type Replacement Table |
| 8.5. | Namespaces and Package Naming |
| 8.6. | Supported Types |
| 8.7. | Known Limitations |
| 8.8. | Example |
| 9. | Using AWT Native Interface |
| 9.1. | Using JAWT Support |
| 9.2. | Accessing Native Control's Data |
| 9.3. | Getting HWND of a Window |
| 9.4. | JAWT Support in Different JDK Versions |
| 10. | Using JNIWrapper in Java Web Start Applications |
| 11. | Using JNIWrapper in Applets |
| 12. | Using JNIWrapper in Native Executable Archives |
| 13. | Using JNIWrapper in Servlets |
| 14. | Support |
| 14.1. | Reporting Problems |
| 14.2. | Troubleshooting |
| 15. | Where to Get a New Version |