A Look at Some Windows Source Code

Today Microsoft admitted that "portions of the Microsoft Windows 2000 and Windows NT 4.0 source code were illegally made available on the Internet." Through unnamed sources, we here at Blogzilla were provided with a portion:

if (default_browser() != IE60) {
   set_invalid_host("www.mozilla.org", ALWAYS);

An update from an oldie.

» posted by pinder on February 13, 2004 at 09:53 AM


Forgive my naivity, but tell me thats a joke!?

# posted by David House

lol, it is a joke ;)

# posted by Dennis Pallett


# posted by ninja

After reading this I did a 'glimpse -i netscape' in the win2k source. I was suprised to find pages and pages of comments like "For Netscape compatibility", "Hack for Netscape compatability", and "Note: we are following the Netscape spec here".

In the source files dated around 1995, there appears to be a lot of effort to make IE as much like Netscape as possible.

# posted by mozfan

Yes there was a lot of effort to make IE like Netscape because circa 1995, Netscape was the browser king and there were Netscape-only tags and pages. That is also one of the reasons why IE identifies itself as "Mozilla" in its user agent string - for compatibility and to be recognized by Netscape only sites.

# posted by Cheah Chu Yeow

As you'd expect, I've heard that the funniest part about the code are the comments. Apparently profanity runs rampant. Kind of humanizes M$, to a degree. I guess there really are real programmers locked away somewhere in there.

# posted by Joe McBride

I can't understand why you struggle with M$! I also think that IE is very good browser for one purpose. If I hadn't IE on my computer I couldn't download Mozilla!

lol :D

# posted by pit

If this IS a joke, then what's making my PC repeatedly keep reinstalling the KB832894 patch? The install logs show it's been "successfully" installed at least 10 times in the last two months. How do I make it STOP? (besides turning off the auto-update please) Help! Email me if you know the answer (use johnclord@hotmail.com and put "STOP KB832894" in the subject line please)

# posted by John Lord

I like private\shell\shdocvw\mainloop.cpp

#ifdef UNIX
#include "unixstuff.h"

line 36
(no this isn't a joke)

# posted by frixion

John, this link may help: Windows Update Site Lists Updates That You Already Installed.

# posted by Jonathan

Yeah, take a look at this: (This IS a joke)

if (error_time() != 30) {
error_show.show = true
error_time = 0
install bug_shell.h

# posted by Unix_Hacker

Post a Comment

This discussion has been closed.