Go Back   Forums > Abandonia.com > Troubleshooting
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 13-02-2015, 10:34 PM   #11
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

On 64-bit Windows, put the DLLs in c:\windows\syswow64\ (not system32)
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 17-02-2015, 07:08 AM   #12
Smiling Spectre
10 GOSUB Abandonia
20 GOTO 10
 
Smiling Spectre's Avatar




 
Join Date: Mar 2009
Location: Cherkessk, Russian Federation
Posts: 2,078
Send a message via ICQ to Smiling Spectre Send a message via AIM to Smiling Spectre Send a message via MSN to Smiling Spectre
Default

Oh, any 32-bit program will not ever see "true" system32 anyway.

(Hmm, but Explorer is 64 by default, so it will see it right. Ok, you are right then.)
__________________
Smiling Spectre is offline                         Send a private message to Smiling Spectre
Reply With Quote
Old 17-02-2015, 07:04 PM   #13
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

On 64-bit Windows, DLLs for 32-bit processes are loaded from syswow64 instead of system32; system32 is (despite the name) for 64-bit DLLs. It's confusing but considering history it makes some sense :P

Of course you can see both directories if you look via their actual paths, but that's unrelated. 32-bit processes can see true system32 too. But when linking to a DLL it's in principle Windows who finds the DLL file from a name without path.

All this applies to native C DLLs.

It's also possible to place a DLL in the same folder as the program that needs it, which also allows for different programs that use incompatible versions of the same DLL name. This applies to .NET DLLs as well as C ones, but not COM ones.

Anyway neither COM nor .NET DLLs go in the Windows system directory for global use, only C ones.
__________________
Life starts every day anew. Prospects not so good...

Last edited by Japo; 17-02-2015 at 07:14 PM.
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 18-02-2015, 04:41 AM   #14
Smiling Spectre
10 GOSUB Abandonia
20 GOTO 10
 
Smiling Spectre's Avatar




 
Join Date: Mar 2009
Location: Cherkessk, Russian Federation
Posts: 2,078
Send a message via ICQ to Smiling Spectre Send a message via AIM to Smiling Spectre Send a message via MSN to Smiling Spectre
Default

Quote:
Originally Posted by Japo View Post
Of course you can see both directories if you look via their actual paths, but that's unrelated. 32-bit processes can see true system32 too. But when linking to a DLL it's in principle Windows who finds the DLL file from a name without path.
Well, this part is not right in my experience. It's limited to servers though, as my first true desktop Win64 is only one year here.

For servers, any 32-bit process automatically redirected to syswow64 in any case when it tried to access system32. I can _try_ to access system32, but in result will land in syswow64 silently. It was very confusing for me when I tried 32-bit file managers on win64, because I never was able to found 'hosts' (that exists only in real system32, of course).
__________________
Smiling Spectre is offline                         Send a private message to Smiling Spectre
Reply With Quote
Old 18-02-2015, 07:00 PM   #15
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

Well you seem to be right, I've checked in my normal Windows 8.1. I never noticed because 32-bit processes can see both system32 and syswow64, and you can seem to go to system32 as well as syswow64, by those separate names; but in both cases you get the same files, from syswow64. Sneaky. I thought it was only when loading DLLs or relying on environment variables or in the registry. Thanks for the info.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Computer Game Quote Quiz Game Zarkumo Forum Games 549 15-08-2010 03:31 AM
Win95 Vs. Winnt Compatibility Gormash Troubleshooting 5 10-12-2007 12:46 PM
Problem Trying To Get Win95 Games To Run Fawfulhasfury Troubleshooting 10 11-12-2004 10:44 PM


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump
 


The current time is 04:03 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.