![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
||||
|
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 .... |
|
||||
|
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 |
|
||||
|
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 | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|