Sponsored Content
Full Discussion: Can we run a dll in unix?
The Lounge What is on Your Mind? Can we run a dll in unix? Post 302069396 by cbkihong on Friday 24th of March 2006 08:09:53 PM
Old 03-24-2006
Being able to use a DLL on Unix is pretty much the same as running a Windows EXE on Unix. Can we do this yet? No.

But you can probably change those source files so that they use the Unix way of dynamic loading.

http://www.tldp.org/HOWTO/C++-dlopen/index.html
http://www.tldp.org/HOWTO/Program-Li...WTO/index.html
 

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. Programming

Dll

Hello all is there any concept of DLL in UNIX if so mention the name of the library linking dynamically Bye Raj (1 Reply)
Discussion started by: rajashekaran
1 Replies

4. IP Networking

dll layer

Hi all , How can I achieve getting the IP address of a local machine, by sending packet over dll layer with its mac address, and how should the frame be consturcted without providing the IP address of the destination machine. Thanx (0 Replies)
Discussion started by: netsavy
0 Replies

5. 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

6. 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

7. UNIX for Dummies Questions & Answers

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:... (3 Replies)
Discussion started by: Scorp-D
3 Replies

8. Programming

Compiling with Dll in HP Ux

Hi all, I had trouble compiling my application with a custom dll, the error appear to be some undefined reference to the functions i had created in my dll. Is there a need to update any environmental variable such as LD_LIBRARY_PATH as in linux system. Please advise. One more thing is do... (2 Replies)
Discussion started by: dwgi32
2 Replies

9. UNIX for Advanced & Expert Users

Regarding DLL's

hello Forum members, what is internal mechanism of DLL's in Unix kernal.what is the major advantage over static libraries. Thanks & Regards Siva Ranganath (2 Replies)
Discussion started by: workforsiva
2 Replies

10. Shell Programming and Scripting

How can i run sql queries from UNIX shell script and retrieve data into text docs of UNIX?

Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies
gendef(1)						      General Commands Manual							 gendef(1)

NAME
gendef - DLL export extractor SYNOPSIS
gendef [options] <DLL> DESCRIPTION
gendef dumps DLL export information from 32- and 64-bit Windows executables (respectively PE32 and PE32+ executables). OPTIONS
- Dump to stdout -h, --help Briefly describe the syntax and options. -a, --assume-stdcall Assume functions with ambiguous calling conventions use stdcall. -I, --include-def-path <path> Add additional search paths in which to look for hint .def files. -f, --no-forward-output Don't output forwarders. OUTPUT
By default gendef writes the DLL export information to a file named after the DLL, replacing .dll with .def. KNOWN ISSUES
For 32-bit DLLs, gendef cannot detect if a function with no return value (void) exported by a DLL uses stdcall or cdecl. Two workarounds are available: either use the "-a" option to force stdcall calling conventions, or generate .def files for any DLLs the DLL you're inter- ested in depends upon. gendef will read other .def files found in the working directory to determine the calling convention in use. 64-bit DLLs are not affected, since they only use a single calling convention. SEE ALSO
genidl(1) AUTHORS
gendef was written by Kai Tietz and Jonathan Yong of the MinGW-w64 project. This manual page was written by Stephen Kitt <steve@sk2.org>, based on information provided with the program and in the project's wiki, for the Debian GNU/Linux system (but may be used by others). gendef Oct 6, 2011 gendef(1)
All times are GMT -4. The time now is 09:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy