Native, Builtin for Dummies

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fdservices
Newbie
Newbie
Posts: 2
Joined: Sun Sep 07, 2008 4:23 am

Native, Builtin for Dummies

Post by fdservices »

Yes I know this is stupid, but I do not understand the difference between Native and Builtin, in that

Native is the original Windows dll
Builtin is the Wine version

OK, but what is in the drive_C/windows/system32 folder? are these the Builtin dlls? or are they just stubs needed to fool the programs into thinking that the dll exists?

If they are just stubs and I want to use a Native dll for just one program, then do I copy it to the system32 folder and overwrite the dll file there, in which case, presumably, the native dll will act as the stub for any other program, but the builtin will still be used?

I am confused :?

Andrew

Andrew
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Native, Builtin for Dummies

Post by vitamin »

fdservices wrote:OK, but what is in the drive_C/windows/system32 folder? are these the Builtin dlls? or are they just stubs needed to fool the programs into thinking that the dll exists?
Stubs or what we call them "fake dlls". They contain only resources but not the actual code.
fdservices wrote:If they are just stubs and I want to use a Native dll for just one program, then do I copy it to the system32 folder and overwrite the dll file there, in which case, presumably, the native dll will act as the stub for any other program, but the builtin will still be used?
No, you should copy it to the program's directory and override it for that only program in winecfg.

Unless you force Wine to use native dll, Wine will always prefer to use it's own dlls (except when Wine's dll is a complete stub (has no code at all) and configured to prefer native, if exists).
fdservices
Newbie
Newbie
Posts: 2
Joined: Sun Sep 07, 2008 4:23 am

Post by fdservices »

So Builtin really means builtin and not separate dll's?

I get it now

Thanks

Andrew
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

fdservices wrote:So Builtin really means builtin and not separate dll's?
Well they are separate files, but somewhere in /usr/lib/wine ...
Locked