Java platform invoke an API that enables Java code to call native functions implemented in dynamic link libraries (DLLs), such as those in the Win32 API. It locates and invokes an exported function and marshals its arguments (integers, strings, arrays, structures, and so on) across the interoperation boundary as needed. This API supports implicit marshaling that makes Java coding with native functions very simple.
To consume exported DLL functions you need
1.Identify functions in DLLs.
Minimally, you must specify the name of the function and name of the DLL that contains it.
2.Create a class to hold DLL functions.
You can use an existing class, create an individual class for each native function, or create one class that contains a set of related native functions. This class should extend CNativeLibrary. Use the annotation ImportLibrary to bind your class to the native library.
3.Create prototypes in Java code.
Write prototype of a native function as a method with signature that corresponds to the native function using data type map agreement. To identify the native function use the annotation Function. Mark the method with the native modifier.
4.Call a DLL function.
Call the method on your Java class as you would any other Java method. As parameters can be passed structures and implemented in Java callback functions.
- Language:
- Size: 376 Kb
- License: Demo
- Cost: Free
- Updated: 2007-04-10 05:07:06
Awards

Latest User Reviews:
Write a Review and Rate Java Platform Invoke API (Demo version)
|
BrowserObject is a server component detecting Web Browser capabilities such as supported technologies and version that is running on the clients. It performs browser detection to retrieve Web Browser name, version, JavaScript, Plug ins, screen resolution, IP address, cookies, language, client time and many more in real time in the Web server.
|
![]() |
|
Create and manage virtual serial ports from .NET and Visual Basic (ActiveX) Using Virtual Serial Port SDK you can create a "new" serial port on your computer. This serial port is completely controlled by your application. Other 3rd party applications can connect to this serial port and believe it is a normal serial port. Windows Mobile/Pocket PC, Windows XP/2k/NT and Windows ME/98. Samples in C#, VB.NET and VB6
|
![]() |
|
DAC for MySQL (also known as MySQLDAC) is the most powerful component suite for Delphi/C++Builder/MySQL. This component suite allows you to create Delphi/C++Builder applications with direct access to MySQL DB without BDE and ODBC. BLOB fields are supported. MySQLDAC was developed for easy migration of existing projects from BDE/ODBC scheme to the native one. Any MySQL library is not required.
|
![]() |
|
DAC for EnterpriseDB is a BDE replacement for Delphi and BCB. It allows you to create Delphi/BCB5 applications with direct access to EnterpriseDB without BDE and ODBC. The migration-friendly interface of DAC for EnterpriseDB is BDE-like and TDataSet compatible. Royalty free.
|
![]() |
|
Assemblies for work with .Net.Win and .Net.Web App.config inside client apllications. Collections of special basic classes responsible for getting the xml.config file, its correct division and interpretation. The component contains a strong name and may be registered into Global Assembly Cache (GAC) by means of gacutil.
|
![]() |
|
finiTasks 1.0 is a .NET Control for adding task management capabilities to your .NET Application. It has an easy to use object model which can be incorporated into your windows forms applications. It has a built-in task grid and optional pre-designed dialogs to help you input Task information.
|
![]() |
|
Serial communication component Xbase++ library for serial port usb communications. Controls multiple ports simultaneously; is fully thread safe, port re-entrant. Includes 34 functions plus modem control, ANSI emulation, ASCII/XMODEM/YMODEM protocols. Supports virtual ports (usb to serial, bluetooth serial); hardware/software flow control, line control. Works with all versions of Alaska Xbase++. Fully functional evaluation version.
|
![]() |
|
Serial communication component VB (VB.NET) library for serial port communications. Controls multiple ports simultaneously; is fully thread safe, port re-entrant. Includes 34 functions plus modem control, ANSI emulation, ASCII/XMODEM/YMODEM protocols. Supports virtual ports (usb to serial, bluetooth serial); hardware/software flow control, line control. Works with all versions of Visual Basic and VB .NET, VBA and PowerBuilder.
|
![]() |
|
Serial communications component Delphi library for serial port communications. Controls multiple ports simultaneously; is fully thread safe, port re-entrant; can send Windows messages on completion of events. Includes 34 functions plus modem control, ANSI emulation, ASCII/XMODEM/YMODEM protocols. Supports virtual serial ports (usb to serial, bluetooth serial); hardware/software flow control. Works with all versions of Delphi and DELPHI .NET.
|
![]() |
|
Serial communication component Win/CE library for serial port communications from embedded Visual C++ (eVC++) programs. Controls multiple ports simultaneously and is fully thread safe, Includes 33 serial port functions plus XMODEM and YMODEM protocols, and a good selection of eVC example programs. Works with Windows/CE and all Pocket PC (PPC) platforms supported by eVC 3.0 and eVC 4.0. Can be used with Bluetooth serial and the Pocket PC emulator
|
![]() |
| Audio & Multimedia Business Communications Desktop Development | Education Games & Entertainment Graphic Apps Home & Hobby Network & Internet | Security & Privacy Servers System Utilities Web Development |
Delicious
Technorati
Blogmarks
Digg
Reddit
Furl
Blinklist
Google
StumbleUpon
Windows Live
Yahoo
Help









