SDK use in Java

Comments specifically about the mousepad devices.

Moderator: The00Dustin

SDK use in Java

Postby raemschkes » 06 Aug 2006, 12:06

i tried to use your sdk for programming in java. the readme says that i
have to copy the WinHand2Java.dll in a directory:
""Then make sure the WinHand2Java.dll file from "FWHID HandMotion\lib\"
is in your path or the working directory
where you are launching java from. ""
so the problem is that there is no WinHand2Java.dll just a
FWHID HandTracking\lib\fwtrack.lib
is this the right file if yes where should i copy it and how should i
load it. can you explain it with details for me
im not so good in this programming stuff yet. are there any examples
you can send? and my last question: how can i use the functions listed
in the api? just as in c++?
thanks for answering.
raemschkes
Hang-around
 
Posts: 3
Joined: 06 Aug 2006, 12:01

Postby ivanw » 06 Aug 2006, 16:42

You can build it if you have everything at hand for Microsoft Visual Studio. (I don't)...

Go to the installation directory created by setupfw153.exe, for instance: C:\Program Files\FingerWorks

You can read the following from this file sdk\FWHID_HandTracking\docs\html\p5.html

  • To rebuild the lib/WinHand2Java.dll Java-native bridge library, choose the Java DLL project configuration and build.
Project file fwhand.vcproj is in sdk\FWHID_HandTracking\msdev_net

Sources are in sdk\FWHID_HandTracking\src\java\native
    fwhid_WinHand2Java.c
    winxp_HandGameInternals.c
    fingerworks_fwhid_WinHand2Java.h
    winxp_HandGameInternals.h

The native call is made in the Java source file sdk\FWHID_HandTracking\src\java\fingerworks\fwhid\WinHand2Java.java

Good luck and keep us posted...
User avatar
ivanw
Zealot
 
Posts: 390
Joined: 29 Jul 2005, 12:32
Location: Paris, France

Postby raemschkes » 12 Aug 2006, 20:29

Hi ivanw,
thanks for you answer
i tried to get it like described and like it's explained in the manual.
i used to load the fwhand.vcproj into VC++ 05 express edition compiler and he showed all source and header files he needed. there are a few more than the four files in the native directory of java. they are spread over the whole sdk directory. there are even 2 files required that don't exsist at all.
last, trying to build a java.dll library the compiler grumbled because of missing Windows.h sources which seems to be a general problem between the compiler and the operating system.
Isn't there anybody who uses the SDK for Java programming?!?!
raemschkes
Hang-around
 
Posts: 3
Joined: 06 Aug 2006, 12:01

Anyone ever used this in Java?

Postby dwigdor » 21 Feb 2007, 22:49

I'm a Java programmer, and agree that the DLL cannot be compiled, given the missing header files. Has anyone out there ever successfully built the DLL, or found another way to use this in Java? Sure would be nice.
dwigdor
New member
 
Posts: 2
Joined: 21 Feb 2007, 22:46
Location: Toronto


Return to Mouse: iGesture products

Who is online

Users browsing this forum: No registered users and 1 guest

cron