首 页 IT 新闻 硬件评测 微机原理 电脑知识 IT 历史 软件下载 科技视频 系统进程查询 Windows vista论坛

您现在的位置: itfind >> 电脑知识 >> 操作系统 >> 电脑知识正文

 

网友曝Windows Vista源代码

作者:佚名    电脑知识来源:本站原创    点击数:    更新时间:2008-4-8

有消息称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,  

}


}

   
相关文章最新文章
如何修改权限删除vista系统文
Windows Vista中使用率最高的
Windows Vista错误代码查看方
Windows Vista蓝屏代码含义和
Windows Vista完全硬盘安装法
windows Vista真实使用感受
深入Windows Vista 内核:Pa
 

 
 
点击排行
 
Copyright © 2007 ITFind.com.cn IT先锋网版权所有粤ICP备06075376号