The Artima Developer Community
Sponsored Link

Java Answers Forum
Callin DLL from java without jni

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
ilkay aktas

Posts: 1
Nickname: ilkayaktas
Registered: Sep, 2007

Callin DLL from java without jni Posted: Sep 8, 2007 9:32 AM
Reply to this message Reply
Advertisement
hi everybody, i have rfid card and i want to read-write operations (also many other op that are defined on card header). there is a dll (RR9000.dll) file for rfid card and a header file (RR9000.h). I want to use this dll on java application but don't know . I have used jni before, but this time all situations are different. Because dll is not prepared by native headers. Please help me.

Somelines of header is below:

#include <windows.h>
//define the constant com port
#define COM1 0
#define COM2 1
#define COM3 2
#define COM4 3
#define COM5 4
#define COM6 5
#define COM7 6
#define COM8 7
#define COM9 8
#define COM10 9
//port functions
extern "C" __declspec(dllexport) long WINAPI AutoOpenComPort(long *Port);

Topic: Callin DLL from java without jni Previous Topic   Next Topic Topic: Graph class with generics... and problems

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use