473,434 Members | 1,424 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,434 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 9797

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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.