2 types of built-in dll's ?

Questions about Wine on Linux
Locked
Opako
Level 3
Level 3
Posts: 74
Joined: Mon Jun 08, 2020 9:23 am

2 types of built-in dll's ?

Post by Opako »

Is it true, that wine actually has two types of built-in dll's:

1. fake dll's that are very rudimentary and are only slightly functional

2. Dll's that can (or should be able to) do almost anything that the native dll can do and are an almost complete (or should be) replacement for the native dll.

If this is righ: I have not found this distinction in the Wine manual. Did I miss something?

A further fact is: There are cases when we need to override both 1) and 2). But more often we need to override type 1).

Thank you.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: 2 types of built-in dll's ?

Post by dimesio »

Not exactly. Fake dlls are what the name says: fake. They exist to fool native apps that expect to find a dll in windows/system32 or windows/syswow64. Wine's builtin dlls are the ones that are meant to replace the native dll, but in many cases are still incomplete, hence the need to override them. There is no separate override for fake/builtin; overriding bypasses both in favor of the native dll.
Locked