473,320 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Use Windows Dll from Linux Application

He everyone,

Does anybody know if it's possible to load and use a library compiled
on windows from a Linux application ?

We have a couple of a Dll files to use in our C++ linux application.

Regards,

Sebastien Degardin
se****************@i-movix.com-NO-SPAM

May 3 '06 #1
5 9792

Sebastien Degardin wrote:
He everyone,

Does anybody know if it's possible to load and use a library compiled
on windows from a Linux application ?

We have a couple of a Dll files to use in our C++ linux application.


Ask in a linux group and possibly more precisely a wine group.

May 3 '06 #2
Sebastien Degardin wrote:
He everyone,

Does anybody know if it's possible to load and use a library compiled
on windows from a Linux application ?

We have a couple of a Dll files to use in our C++ linux application.

Regards,

Sebastien Degardin
se****************@i-movix.com-NO-SPAM


Try asking in the newsgroup:

comp.os.linux.development.system

Having said that, we do it all of the time...
On Windows we compile our source into a DLL, and
on unix/linux we compile our source into a '.so'.
Of course we're careful that our source doesn't
contain any platform-specific code (unless it's
inside '#ifdef' blocks).

Larry
May 3 '06 #3
Thank's for all.

Of course i can compile my source file to .so libraries to Linux.
But, for that, i need the source file :-).

Regards,...

May 4 '06 #4
Sebastien Degardin wrote:
Thank's for all.

Of course i can compile my source file to .so libraries to Linux.
But, for that, i need the source file :-).

Regards,...


Well, if they are '3rd-party' DLL's, you're probably
out of luck. Who knows what other DLL's those might
depend on - it's like dominoes, one thing leads to another.

May 4 '06 #5

"Sebastien Degardin" <se****************@gmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
Thank's for all.

Of course i can compile my source file to .so libraries to Linux.
But, for that, i need the source file :-).


If you build and install Wine, among other things you will get a program
named "winegcc". If you build your program with that compiler, it will be
able to dynamically link to Windows PE DLL files. For more details, see
http://www.winehq.org .

--
DLL

May 4 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: corrado | last post by:
Hello I have an application running several thread to display some financial data; basically I have a thread displaying HTML tables by means of Tkhtml, another implementing a scrolling ticker...
3
by: Gaetan Poitras | last post by:
I need to know if we can install our database 10g on a linux server, install our AS10g on a linux server and then install on each Windows XP developer 10g ? Is this combinaison will work fine? I...
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
25
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK...
8
by: seth | last post by:
Hello, I am new to the open source environment. We have to develop a web application using Apache/PHP/MySQL on Windows (A component that we want to use is available only on Windows for now)....
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
4
by: reachsamdurai | last post by:
Hello, Can you please let me know the procedure to reach db2 command prompt from a cygwin window (hence without using Start-> Run -> db2cmd method). I'm planning to write shell scripts which...
0
by: Michael Palmer | last post by:
On Sep 16, 12:30 pm, binaryjesus <coolman.gu...@gmail.comwrote: I haven't tried it myself, but I came across a blog post the other day that describes a way of building windows installers for...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.