Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1428 connectés 

  FORUM HardWare.fr
  Video & Son

  [HS] délire, le code source de windows XP !

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[HS] délire, le code source de windows XP !

n°99219
jesus_chri​st
votre nouveau dieu
Posté le 22-07-2001 à 01:31:15  profilanswer
 

Bon, bien sûr c'est une parodie, et faut avoir des notions de C, mais c'est marrant, surtout ce qui est en gras :
 
/*  
TOP SECRET Microsoft(c) Code  
Project: Whitsler(tm)  
*/  
 
 
/*  
 Reference:  
 Internal memo William H. Gates III  
 to:  
 Executive managers Whitsler(tm)-project  
 
 William H. Gates III wrote:  
 "I have serious doubts about the 'EASY' installation-definition.  
 It might prevent customers to think that they actually bought something  
 _good_. Therefore I want the installation-definition to be 'HARD'.  
 
 Carry on,  
 Bill  
 "  
*/  
 
void main()  
{  
 int system_id;
 
 while(!CRASHED)  
 {  
  display_copyright_message();  
  display_bill_rules_message();  
  do_nothing_loop();  
  if(first_time_installation)  
  {  
   make_50_megabyte_swapfile();  
   do_nothing_loop();  
   totally_screw_up_HPFS_file_system();  
   search_and_destroy_the_rest_of_OS/2();  
   hang_system();  
  }  
  write_something(anything);  
  display_copyright_message();  
  do_nothing_loop();  
  do_some_stuff();  
  if(still_not_crashed)  
  {  
   display_copyright_message();  
   do_nothing_loop();  
   switch (system_id) {
    case WINDOWS_31:
     basically_run_windows_3.1();
     break;
 
/* ---  DO NOT USE THIS PORTION
    case WINDOWS_95:
     if (is_processor() >= INTEL_486)
      lauchn_windows_95();
     else {
      display_error_message();
      shutdown();
     }
     break;
    case WINDOWS_98:
    case WINDOWS_SE:
    case WINDOWS_ME:
     if (detect_plug_and_pray() == FALSE) {
      display_message("Fatal error", "Reinstall Windows please" );
      shutdown();
     } else {
      sleep(1000000);
      if (wait_for_crashed() == TRUE) {
       display_message("General Protection Fault at 0x0084CE8512" );
      } else {
       launch_windows_98();
      }
     }
     break;
*/
 
    case WINDOWS_NT:
    case WINDOWS_2000:
    case WHITSLER:
     if (procesor_type() == PROCESSOR_AMD) {
      SetCache(DEACTIVATED);
      SetGraphicAccelerator(DEACTIVATED_3D_ACC)
;
     }
     if ((processor_test() > INTEL_586) && (memory_test() > 1e9) && (diskspace_test() > 1e10)) {
      uninstall("netscape.isu" );
      uninstall("realplayer.isu" )
;
      if (codecSelected("MP3_codec.dll" ) == TRUE) {
       open("MP3_codec.dll" );
       setproperty("bitrate", 10);
      }
      do_nothing_loop();
      SetParameter(COPYRIGHT_TEXT);
      SetParameter(PROTECTION_ACTION);
      if (system_crashed() == FALSE) {
       if (detect_bug() == TRUE) {
        send_message("Contact Microsoft hot line please" );
        shutdown();
       } else {
        wait_for_nothing();
/*        launch_windows_31(); */
        launch_windows_nt();        
       }
      }
      else {
       display_message("" );
       shutdown();
      }
     }
     do_nothing_loop();  
     do_nothing_loop();  
     uninstall("WINDOWS.isu" );
     sys_command("format", "c" );
     break;
   }
  }  
 }  
 
 /*  
  Reference:  
  Internal memo Executive managers Win95(tm)-project  
  to:  
  William H. Gates III  
 
  Executive managers Whitsler(tm)-project wrote:  
  "Dear Sir,  
  Since we have found that this last piece of code within the  
  'if'-statement  
  will never execute, we descided NOT to include it in the final code.  
  This way we will save atleast another 5 megabytes of consumer-diskspace!  
 
  Thank you for listening to us,  
  the executive managers of the  
  Whitler(tm)-project  
  "  
 */  
 
 /*  
  if(still_not_crashed)  
  {  
   write_cheer();  
   finished();  
  }  
 */  
 create_general_protection_fault();  
}
 
void lauchn_windows_95()
{
 while (system_crashed() == FALSE) {
  do_nothing();
  do_nothing();
  if (internet_activated() == TRUE) {
   send_message("microsoft@service.com", get_user_information());
  }
  wait_for_system_messages();
 }
}
 
void launch_windows_98()
{
 while (system_crashed() == FALSE) {
  do_nothing();
  do_nothing();
  if (internet_activated() == TRUE) {
   send_message("microsoft@service.com", get_user_information());
  }
  wait_for_system_messages();
 }
}
 
void launch_windows_nt()
{
 while (system_crashed() == FALSE) {
  do_nothing();
  do_nothing();
  if (internet_activated() == TRUE) {
   send_message("microsoft@service.com", get_user_information());
  }
  wait_for_system_messages();
  if (service_pack_number != 20 && bug_counter() > 100) {
   int a = random();
   if (a == 10) {
    display_message("Please install new service pack of Windows" );  
   }
  }
 }
}

mood
Publicité
Posté le 22-07-2001 à 01:31:15  profilanswer
 

n°99221
zop
1 world, 1 web, 1 Windows
Posté le 22-07-2001 à 02:07:16  profilanswer
 

Je l'avais déjà vu, mais j'admets que c'est toujours amusant à parcourir :D

n°99236
Lalorette
Posté le 22-07-2001 à 09:30:14  profilanswer
 

c'est clair , que c'est trop çà le code de Windaube.
 
if(temps_depuis_le_dernier_crash() > 60minutes)
{
  int a = rand() % 100;
  MessageBox("Erreur n°",a);
  reboot();
}

n°99350
jajaX
Ma Flo, je t'aime: ;)
Posté le 22-07-2001 à 16:36:35  profilanswer
 

:lol:


---------------
@+ jaja - mansoncollections
n°99370
Maxime
Posté le 22-07-2001 à 17:08:36  profilanswer
 

cest vraimment le code source de win ca  :lol:  :lol:  
 
ou cest juste un truc pour delirer  :D ???

n°99371
Maxime
Posté le 22-07-2001 à 17:09:17  profilanswer
 

if (procesor_type() == PROCESSOR_AMD) {
     SetCache(DEACTIVATED);
     SetGraphicAccelerator(DEACTIVATED_3D_ACC);
 
 :lol:  :lol:  :lol:

n°99381
gilou2
Posté le 22-07-2001 à 17:26:16  profilanswer
 

if (internet_activated() == TRUE) {
  send_message("microsoft@service.com", get_user_information());
}
 
C'est pas mal non plus :lol:


---------------
Développeur de FreeVCR : http://freevcr.ifrance.com [:gilou2]
n°99383
jesus_chri​st
votre nouveau dieu
Posté le 22-07-2001 à 17:32:00  profilanswer
 

c'est une blague, sous forme de code source que j'ai piqué sur un site de warrior rebelzz comme disait ch'ais plus qui...
 
A+

n°99456
Maxime
Posté le 22-07-2001 à 21:11:26  profilanswer
 

if ((processor_test() > INTEL_586) && (memory_test() > 1e9) && (diskspace_test() > 1e10)) {
     uninstall("netscape.isu" );
     uninstall("realplayer.isu" );
 
 :lol:  :lol:  :lol:  :lol:  :lol:  :lol:

n°99457
Maxime
Posté le 22-07-2001 à 21:13:18  profilanswer
 

if (system_crashed() == FALSE) {
      if (detect_bug() == TRUE) {
       send_message("Contact Microsoft hot line please" );
       shutdown();
 
 
 :lol:  :lol:  
trop fort
 
tas aps lurl du site????


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Video & Son

  [HS] délire, le code source de windows XP !

 

Sujets relatifs
[VIDEO] Rippack, windows 2000, vidéo et organisation DD :))Windows 2000 Professionnel ,il est mieux que millenium pour faire.....
Windows Media Player 6 ou 7 ?Problème de plein écran avec Windows Media Player
Help sous Windows 2000c quoi ce délire ?? je vais plus vite avec nandub qu'avec mpeg2avi ??
Adapteur source Video analogique (peritel/S-VHS) -> (S)VGA (moniteur)Windows Media Player ne marche plus !
Isis et Windows XPlecture divx sous windows xp !!
Plus de sujets relatifs à : [HS] délire, le code source de windows XP !


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR