Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Possible to use a Java app with dll files on Unix-systems Post 302112585 by Scorp-D on Thursday 29th of March 2007 03:37:06 AM
Old 03-29-2007
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
 

10 More Discussions You Might Find Interesting

1. Programming

I am porting Dll from NT to Unix, how should I proceed

I am porting Dll from Windows NT to Unix, Could any body pls guide me how should I proceed?? (3 Replies)
Discussion started by: Vipin
3 Replies

2. Programming

Need to port C dll to UNIX

I have source code of a Windows C DLL. It complies properly and works. Now I need to port it to UNIX environment. I need to know if I can create a Dynamic Library or only Static Library is possible in UNIX. In case I can create a Dynamic Library please guide me how to proceed. Or if there... (2 Replies)
Discussion started by: ana_puri
2 Replies

3. UNIX for Advanced & Expert Users

Executing a .dll from a Unix script

Is it possible for a Unix script to execute a .dll. If so, where would I find information/examples of how to do that? Thanks, in advance, for any help. :rolleyes: (2 Replies)
Discussion started by: BCarlson
2 Replies

4. What is on Your Mind?

Can we run a dll in unix?

I have created DLLs in c++. Is it possible to run these DLLs in unix so that I can save time converting function/scripts in unix? In this way I can reuse these DLL in Unix. Thanks. (2 Replies)
Discussion started by: alestoquia
2 Replies

5. Programming

Using Windows DLL in UNIX

Hello, I am sorry to bother you all but I am thinking about switching to UNIX and I am a complete novice there. The problem is that I need to call a C++ dll on UNIX platform which was compiled on Windows. I don't have the source code of the dll as well. I just need to call this dll in my C++... (2 Replies)
Discussion started by: clickoo
2 Replies

6. Shell Programming and Scripting

GD.dll files for php 5.1.6

Hi, I want to create an image dynamically. I used this function. $img_handle = ImageCreate ($length, 10) or die ("Cannot Create image"); It was not creating the image. When i checked in error_log file the error was: PHP Fatal error: Call to undefined function ImageCreate(). ... (0 Replies)
Discussion started by: vanitham
0 Replies

7. Programming

JAVA - External JAR files in UNIX

Hi, I have to run my JAVA programs in UNIX server. The java program uses some external jar files for compiling. I have set the classpath to the folder where all the jar files are present using EXPORT classpath command. But when i compile, it shows errors.. saying that the classes relating... (8 Replies)
Discussion started by: satish2712
8 Replies

8. UNIX for Advanced & Expert Users

Working with remote Unix files systems from Windows

I am currently using Samba to access remote Unix file systems from Windows. However, it is slow, and I presume insecure in the sense that file contents are transmitted unencrypted. I also wonder if passwords are transmitted in plain text in this protocol or not. For these reasons I am looking for... (2 Replies)
Discussion started by: Bilge
2 Replies

9. UNIX for Dummies Questions & Answers

Checking heap memory size for java app

Hi I have one Java application installed in my Solaris system. Is there a way to find out the heap memory allocated size/used size/free size for the particular Java process? If anyone knows the command, please let me know. Even I appreciate if I have any scripts to find out the same. ... (0 Replies)
Discussion started by: nthiruvenkatam
0 Replies

10. UNIX for Advanced & Expert Users

Sun java app server

quick question: where can I download sun java application server that will run in java6? or both? I need to install sun java app server and java6. thanks ---------- Post updated at 09:20 AM ---------- Previous update was at 09:12 AM ---------- OS: solaris10 (0 Replies)
Discussion started by: lhareigh890
0 Replies
Mono(Mono 1.0)															    Mono(Mono 1.0)

NAME
mono-config - Mono runtime file format configuration DESCRIPTION
The Mono runtime will load configuration data from the installation prefix /etc/mono/config file, the ~/.mono/config or from the file pointed by the MONO_CONFIG environment variable. For each assembly loaded a config file with the name: /path/to/the/assembly.exe.config is loaded as well as the ~/.mono/assemblies/ASSEM- BLY/ASSEMBLY.EXT.config file. This file controls the behavior of the runtime. The file contains an XML-like file with various sections, all of them contained inside a section (It actually uses GMarkup to parse the file). This page describes the Unix-specific and Mono-specific extensions to the configuration file; For complete details, see the http://www.mono-project.com/Config web page. <dllmap> directive You use the dllmap directive to map shared libraries referenced by P/Invoke in your assemblies to a different shared library. This is typically used to map Windows libraries to Unix library names. The dllmap element takes two attributes: dll This should be the same string used in the DllImport attribute, optionally prefixed with "i:" to indicate that the string must be matched in a case-insensitive way target This should be the name of the library where the function can be found: this name should be suitable for use with the platform native shared library loading routines (dlopen etc.), so you may want to check the manpages for that, too. <dllentry> directive This directive can be used to map a specific dll/function pair to a different library and also a different function name. It should appear inside a dllmap element with only the dll attribute specified. The dllentry element takes 3 attributes: dll This is the target library, where the function can be found. name This is the name of the function as it appears in the metadata: it is the name of the P/Invoke method. target This is the name of the function to lookup instead of the name specified in the P/Invoke method. Mapping based on operating system and cpu Both the dllmap and the dllentry elements allow the following two attributes which make it easy to use a single configuration file and sup- port multiple operating systems and architectures with different mapping requirements: os This is the name of the operating system for which the mapping should be applied. Allowed values are: linux, osx, solaris, freebsd, openbsd, netbsd, windows, aix, hpux. cpu This is the name of the architecture for which the mapping should be applied. Allowed values are: x86, x86-64, sparc, ppc, s390, s390x, arm, mips, alpha, hppa, ia64. wordsize This is the size of registers on the target architecture, it can be either 32 or 64. The attribute value for both attributes can be a comma-separated list of the allowed values. Additionally, the first character may be a '!' to reverse the meaning. An attribute value of "!windows,osx", for example, would mean that the entry is considered on all operating sys- tems, except on Windows and OS X. No spaces are allowed in any part of the value. Note that later entries will override the entries defined earlier in the file. EXAMPLES
The following example maps references to the `cygwin1.dll' shared library to the `libc.so.6' file. <configuration> <dllmap dll="i:cygwin1.dll" target="libc.so.6"/> </configuration> The library name in the DllImport attribute is allowed to be in any case variant, like the following examples: [DllImport ("cygwin1.dll")] [DllImport ("Cygwin1.dll")] [DllImport ("cygwiN1.Dll")] This one maps the following C# method: [DllImport ("libc")] static extern void somefunction (); to differentfunction in libdifferent.so , but to the same function in the library libanother.so when running under the Solaris and FreeBSD operating systems. <configuration> <dllmap dll="libc"> <dllentry dll="libdifferent.so" name="somefunction" target="differentfunction" /> <dllentry os="solaris,freebsd" dll="libanother.so" name="somefunction" target="differentfunction" /> </dllmap> </configuration> SEE ALSO
mono(1),monodis(1),mint(1) Mono(Mono 1.0)
All times are GMT -4. The time now is 02:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy