Current area: HOME -> Download page

Java Platform Invoke API (Demo version) 2.01.04

(Not rated)  Rate and comment this resource

No Screenshot provided
Download Java Platform Invoke API (Demo version) 2.01.04 Download site #1

   (report broken link)
NOTE: Some downloads must be obtained through the publisher's site.
Author: Vitaly Shelest  (View all listings)

Java Platform Invoke API (Demo version) 2.01.04
Java Platform Invoke API (Demo version) for MS Windows. Enables Java code to call native functions implemented in dynamic link libraries (DLLs) like in Microsoft .NET Framework. Written for JSE 1.5.x and later.

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.

File name: cnatives_32_260408Setup.msi
Product homepage: Product homepage
Order page: Unknown
Languages:
Platforms: Windows 2000-NT-Server 2003-XP
Release Date: 28 February, 2007
Licence Type: Demo
Size: 529 Kb
Price/fee (US$): Unknown
Number of downloads: 196

  User Comments

This resource has not been rated or commented yet.
Why not take a moment to post your comments and rate this resource?



Do you want to get your software listed on this site? If so, click here to find out more.


Sponsored links

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
Virtual File System SDK
Create your own file systems in Windows and .NET applications
PureCM Software Configuration Management
Version control and integrated issue tracking - powerful and easy to use. Get your FREE trial now!

Advertisement



Free Magazine

Free Magazines
eWeek The essential technology information source for builders of e-business.... subscribe now

Newsletter | Submit Content | About | Advertising | Awards | Contact Us | Link to us |
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Synchron Data - .NET development.