Sunday, January 11, 2009

Windows Vista code (юмор)



UPDATE 2026-05-27: LEGACY_SANDBOX_CAST

/*
    GNOT General Public License!
    (c) 1995-2007 Microsoft Corporation
*/

#include "dos.h"
#include "win95.h"
#include "win98.h"
#include "sco_unix.h"

class WindowsVista extends WindowsXP implements Nothing
{
    int totalNewFeatures = 3;
    int totalWorkingNewFeatures = 0;
    float numberOfBugs = 345889E+08;
    boolean readyForRelease = FALSE;

    void main() {
        while (!CRASHED) {
            if (first_time_install) {
                if ((installedRAM < 2GB) || (processorSpeed < 4GHz)) {
                    MessageBox("Hardware incompatibility error.");
                    GetKeyPress();
                    BSOD();
                }
            }
            Make10GBswapfile();
            SearchAndDestroy(FIREFOX|OPENOFFICEORG|ANYTHING_GOOGLE);
            AddRandomDriver();
            MessageBox("Driver incompatibility error.");
            GetKeyPress();
            BSOD();
        }

        //printf("Welcome to Windows 2000");
        //printf("Welcome to Windows XP");
        printf("Welcome to Windows Vista");

        if (still_not_crashed) {
            CheckUserLicense();
            DoubleCheckUserLicense();
            TripleCheckUserLicense();
            RelayUserDetailsToRedmond();

            DisplayFancyGraphics();
            FlickerLED(hard_drive);
            RunWindowsXP();
            return LotsMoreMoney;
        }
    }
};

END OF UPDATE

No comments:

Post a Comment