打印本文 关闭窗口 |
||
网友曝光Windows Vista源代码 |
||
| 作者:未知 文章来源:赛迪网 点击数 更新时间:2008/4/7 9:05:21 文章录入:贯通日本语 责任编辑:贯通日本语 | ||
|
|
||
赛迪网讯4月7日消息,Digg网站日前发表一篇文章爆炸性地披露了WindowsVista原代码的细节。人们能够在网页的图片中清晰地看到Vista代码的复杂性,或者看到Vista源代码是什么样子。 一幅图片也许比1000个字更有说服力。 在美国司法部和欧盟最终看到Vista为何如此失败的原因的时候,微软的律师肯定会忙得不可开交。微软肯定要投入大量资金调查这个事情。 同时,微软的敌人现在能够看到这个很容易拷贝的有价值的代码。采用开源软件修改的盗版的Vista软件也许很快就会出现。Linux开发人员也许能从这些源代码中学到一些教训。 目前还不清楚这些源代码是否包含VistaSP1的改进功能,不过,业内人士认为这是VistaRTM版的源代码。也许泄漏这个源代码的人还会找到SP1的源代码并且把它曝光。下面是Digg网站发表的源代码。的确,这是某个人编的一个笑话。因为有趣,所以发表出来与大家共享。 Digg网站发表的源代码 /* 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+O8; boolean readyForRelease = FALSE; void main while (!CRASHED) if (first_time_install) if ((installedRAM < 2GB) (processorSpeed < 4GHz)) MessageBox("Hardware incompatibility error."); GetKeyPress(); BSOD(); Make10GBswapfile(): SearchAndDestroy(FIREFOXOPENOFFICEORGANYTHING_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(); RelayUserDetaitsToRedmond(); DisplayFancyGraphics(); FlickerLED(hard_drive); RunWindowsXP(); return LotsMoreMoney, }
作者:天虹
|
||
打印本文 关闭窗口 |