Results 1 to 5 of 5
Can I Link Windows ".DLL" library file with my linux application using GCC at the time of compiling linux application.
If not then how can I use ".DLL" at linux ...
- 02-01-2010 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 50
How link Windows .DLL using GCC
Can I Link Windows ".DLL" library file with my linux application using GCC at the time of compiling linux application.
If not then how can I use ".DLL" at linux application.
Please help!
- 02-01-2010 #2
dll is a windows library that was compiled to run on windows operating system
you can't link to it or use it in any way on linux
You should recompile source to a linux library.
- 02-01-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
As coopstah13 said in effect, you can't use a Windows DLL in a Linux application. If you need the functions of the DLL in your Linux application and have access to the source code, you can build it for Linux, assuming there aren't too many Windows-specific system calls. If you don't have the source, then you are probably out of luck and will have to reverse-engineer the functions in the DLL.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-02-2010 #4Just Joined!
- Join Date
- Feb 2008
- Posts
- 50
Thanks coopstah13 and Rubberman for your replies.
I don't have the DLL source..
So now I need to do reverse engineering. I know the DLL's functionality so i can go for it..!! 
Thanks for your help..!!
- 02-02-2010 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
As someone once said, been there, done that... Good luck in your endeavors.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
