Ver Mensaje Individual
  #3  
Antiguo 10-04-2009
Avatar de Negriz
Negriz Negriz is offline
Miembro
 
Registrado: feb 2008
Ubicación: Some were inside Colombia
Posts: 123
Reputación: 17
Negriz Va por buen camino
muchas gracias por responder tan pronto [cHackAll], revise el codigo que posteaste:
Código:
 char Root[4] = "A:\\";
// SetErrorMode(SEM_FAILCRITICALERRORS);
 for (; Root[0] <= 'Z'; Root[0]++)
 {
  if ((GetDriveType(Root) == DRIVE_REMOVABLE) && SetCurrentDirectory(Root))
  {
   ShellExecute(NULL, "open", Root, NULL, NULL, SW_SHOW);
  }
 }
 SetCurrentDirectory("C:"); //
pero sigo teniendo resultados muy parecidos a lo anterior

si ubiera alguna forma de evitar que ese mensaje saliera... igual sigo buscando.
Gracias.
Responder Con Cita