LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2009, 10:54 AM   #1
The Dude
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
What Happens if You replace all the Wine .dll's with Native Windows .dll's?


Hi guys,

Im just curious, but what would happen if I were replace all the stuff in the wine system32 folder with the stuff in my Windows 7 install?

How does wine actually load the dll's? Does it matter where they are in the fake windows folder layout, or does wine just load the dll whenever it gets called, regardless of where the windows app looks for it?
 
Old 10-26-2009, 11:05 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by The Dude View Post
Hi guys,

Im just curious, but what would happen if I were replace all the stuff in the wine system32 folder with the stuff in my Windows 7 install?
You really shouldn't do that. It's always preferable to use the wine version of the API's when possible. If you need to override a given dll for a concrete application then use winecfg to do so the right way.

Not all dll's can be used. It depends on each case. Some of them are simply too low level.

Quote:
How does wine actually load the dll's? Does it matter where they are in the fake windows folder layout, or does wine just load the dll whenever it gets called, regardless of where the windows app looks for it?
My guess is that it respects the order given by the application, given that sometimes a given version of a dll can be non-standard, patched or of a different version than this that you have in your system32 dir. So, usually the ones in the folder where the app lives should take precedence, just like they do in Windows. However I haven't looked at the sources to be able to confirm this.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Global DLL's in WINE pccdrussell Linux - Software 6 03-25-2007 04:52 PM
Overriding dll's in Wine binarybob0001 Linux - Software 0 01-18-2006 02:20 AM
wine 0.9.5 office 97 dll's dansawyer Linux - Software 1 01-15-2006 03:59 PM
how to import dll's on linux bluerockluv Programming 2 01-10-2006 07:10 AM
Just a question for the DLL's emperor13 Linux - General 1 07-19-2001 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration