The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
advice on managing files between two systems yabai Shell Programming and Scripting 1 05-22-2008 04:58 AM
Creating create mirrored disk files systems using mkfs command GLJ@USC UNIX for Dummies Questions & Answers 4 11-07-2006 01:52 PM
MRTG in Unix Systems dunder IP Networking 2 07-23-2004 10:13 AM
Sharing unix drives from two unix systems rongrout SCO 1 11-25-2003 10:14 AM
Number of disks, space available, files systems ? geogeo Filesystems, Disks and Memory 2 09-30-2002 05:28 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-29-2007
Scorp-D Scorp-D is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 2
Possible to use a Java app with dll files on Unix-systems

Hi…

I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System.

Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way?

Dll-file: jnpout32pkg.dll

Scorp-D
  #2 (permalink)  
Old 03-29-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Not directly as I know of. Do you have the sources of this DLL? You can try to recompile it on Unix (if compatible) and use JNI to bootstrap it from Java.

Not sure whether I misunderstood your question ....
  #3 (permalink)  
Old 03-29-2007
Scorp-D Scorp-D is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 2
The source for the dll file is loacated in this zip-file, but i don't know how to re-compile it for unix.

http://www.hytherion.com/beattidp/co...t32pkg_v10.zip
  #4 (permalink)  
Old 03-29-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Good. The package already uses JNI. If you open some of the CPP and Java files, you already see uses of JNI. For further information about JNI, see

http://java.sun.com/developer/online...CBook/jni.html

Probably the major problem is that C/C++ programs are usually platform dependent, so a C/C++ program may not compile on a different OS or compiler. From the sources, it appears that it was originally intended for Visual Studio + Windows, so expect some porting work before you can actually use something JNI on Unix.

EDIT: I just saw a hwinterface.sys inside. Probably it is a binary produced by an assembler which contains the real meat of the I/O, but no source is available. For this particular package, I don't think you can use it on Unix successfully.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0