Author: Code speaker
Article Source: http://blog.sina.com.cn/s/blog_3f28ff5201009379.html
I really admire the funny ideas of foreigners. I really admire the "professional" spirit of some domestic media and a funny document published by others in the Chinese industry, if you don't even read it, you just need to write Windows VistaSource codeThe title of details exposure is published. The original text is as follows:
The website has published an article about the explosive disclosure of the original Windows VistaCode. People can clearly see the complexity of the Vista code in the images on the web page, or see what the Vista source code looks like.
A picture may be more convincing than 1000 words.
However, these source codes will not always exist on images on webpages. Google's search engine will certainly find it. Therefore, an industry expert converted the image of this Code into text and published it again.
When the US Department of Justice and the EU finally see why Vista fails, Microsoft's lawyers will surely be too busy. Microsoft must invest a lot of money to investigate this matter.
At the same time, Microsoft's enemies can now see the valuable code that is easily copied. Pirated Vista software modified with open-source software may soon become available. Linux developers may learn some lessons from these source codes.
It is unclear whether the source code includes the improved features of vistasp1. However, industry insiders think this is the source code of vistartm. The person who leaked the source code may also find the source code of Sp1 and expose it. The following is the source code published by the Digg website.
This is obviously a joke code. Someone really takes it seriously and is still a media player. I really don't know what to say. Although I am not a professional, but after five or six years of mixing in the IT industry, I 'd like to translate this code. First of all, it's a piece of C-language source code, which is well known, the core code of Windows is about 20 thousand assembly languages, which must be creative for Linux engineers, because it is the home of C.
# Include "Dos. H"
# Include "win95.h"
# Include "win98.h"
# Include "sco_unix.h" // include indicates that all versions of Windows are included. It is ironic that Windows systems are getting bigger and bigger, and even Unix systems are included.
Class windowsvista extends WindowsXP implements nothing // I started to be funny again. I defined the Vista class and explained that it is completely referring to XP without any innovation.
Int totalnewfeatures = 3; // defines three new features.
Int totalworkingnewfeatures = 0; // The result is useless.
Float numberofbugs = 345889e + o8; // defines the number of bugs (errors). Good guy, because it is the maximum value that the floating point type can represent.
Boolean readyforrelease = false; // defines a Boolean variable, indicating that it is not released
Void main // start the main function
While (! Crashed) // execute the command if it is cracked.
If (first_time_install) // if it is the first installation
If (installedram <2 GB) |
(Processorspeed <4 GHz) // if the memory is less than 2 GB, or the CPU is less than 4 GB
MessageBox ("hardware incompatibility error."); // The system prompts incompatible hardware.
Getkeypress (); // press any key to continue
Bsod (); // bsod (blue screen of death), the so-called "blue sky and white clouds", Windows signboard screen, is actually a blue screen white text dead screen.
Make10gbswapfile (); // creates a 10 Gb swap file.
Searchanddestroy (Firefox | openofficeorg | anything_google); // check that the hard disk contains Firefox, OpenOffice, or Google software.
Addrandomdriver (); // load random driver
MessageBox ("Driver incompatibility error."); // The system prompts that the driver is incompatible.
Getkeypress (); // press any key to continue
Bsod (); // blue screen again
// Printf ("Welcome to Windows 2000 ");
// Printf (Welcome to Windows XP "); // The two sentences are the most funny. The startup prompts of 2000 and XP are commented out, the Code of 2000, XP, and Vista was not changed at all. I just changed the prompt.
Printf ("Welcome to Windows Vista"); // you are prompted to use Vista.
If (still_not_crashed) // if not cracked
Checkuserlicense (); // check user authorization
Doublecheckuserlicense (); // re-check user authorization
Triplecheckuserlicense (); // third check user authorization
Relayuserdetaitstoredmond (); // The real user information is sent to Microsoft's R & D center in Redmond.
Displayfancygraphics (); // display company images
Flickerled (hard_drive); // the hard drive light starts to flash, as if there are many things to read.
Runwindowsxp (); // The last running is XP
Return lotsmoremoney; // not enough. Continue to apply for memory
}
}