News for hackers. Stuff that matters.
Re:I'm “still afraid to use spaces in file names” years old by jjoonathan on Thursday November 11, 2021 @09:10AM (#29187970)
Imagine if they made programmers put 64 bit DLLs in a "System32" directory and 32 bit DLLs in a "SysWoW64" directory. That would really keep 'em on their toes!
Re:I'm “still afraid to use spaces in file names” years old by eyegor on Thursday November 11, 2021 @09:16AM (#29188042)
You should look into the behavior of the /windows/sysnative link. It appears and disappears depending on whether your process is running as 32 bit or 64 bit.
Re:I'm “still afraid to use spaces in file names” years old by Karuma on Thursday November 11, 2021 @10:07AM (#29188603)
Programmers should never put DLLs in those folders... Or even ever touch them.
Re:I'm “still afraid to use spaces in file names” years old by mastax on Thursday November 11, 2021 @10:20AM (#29188758)
Except for \Windows\System32\drivers\etc\hosts, of course.
Re:I'm “still afraid to use spaces in file names” years old by jaywalk on Thursday November 11, 2021 @10:41AM (#29189105)
I occasionally try to search for the reasoning behind the location of the hosts file in Windows, and I always come up blank.
Re:I'm “still afraid to use spaces in file names” years old by jve on Thursday November 11, 2021 @05:46PM (#29194241)
Re:I'm “still afraid to use spaces in file names” years old by blincoln on Thursday November 11, 2021 @11:07AM (#29189478)
Maybe it's from back before Windows had a built-in TCP/IP stack? If it were a third-party/optional driver, having files related to it in a path under system32\drivers would make sense.
Re:I'm “still afraid to use spaces in file names” years old by mjevans on Thursday November 11, 2021 @01:17PM (#29191115)
Back around Win 95 when they added networking it was based off of (IIRC) BSD's TCP stack and related tools. They were an optional 'third party' driver of sorts, but shipped by the first party. I'm not positive about WinNT or Win3.11 (for workgroups?)
Re:I'm “still afraid to use spaces in file names” years old by mixmastamyk on Thursday November 11, 2021 @02:33PM (#29192108)
I remember adding "trumpet winsock" to Win 3.x back in the day. Says '94 for that, and summer of '93 for NT 3.1 debut:

https://en.wikipedia.org/wiki/Trumpet_Winsock

https://en.wikipedia.org/wiki/Windows_NT_3.1

Re:I'm “still afraid to use spaces in file names” years old by HideousKojima on Thursday November 11, 2021 @02:26PM (#29192026)
They originally copied BSD's network stack, IIRC
Re:I'm “still afraid to use spaces in file names” years old by kevin_thibedeau on Friday November 12, 2021 @01:58AM (#29196952)
They already hamstrung themselves with LONG because DWORD just wasn't good enough and now long can't be 64-bit either.