Ver Mensaje Individual
  #8 (permalink)  
Antiguo 18/12/2008, 06:01
Avatar de Eternal Idol
Eternal Idol
 
Fecha de Ingreso: mayo-2004
Ubicación: Lucentum
Mensajes: 6.192
Antigüedad: 20 años
Puntos: 74
Respuesta: Librerias de Microsoft

Ya vienen con el Dev-C++, por ejemplo podes hacer esto:

Código:
#include <windows.h>

int main()
{
  PlaySound(TEXT("SystemStart"), NULL, SND_ALIAS);
  return 0;
}
File>>New Project>>Console Application.
Copias el codigo anterior en el main.cpp.
Execute>>Compile, te dara un error al enlazar (no encuentra PlaySound).
Project>>Project Options>>Parameters>>Add library or Object: Lib\libwinmm.a
Execute>>Compile, ya funciona.
__________________
¡Peron cumple, Evita dignifica! VIVA PERON CARAJO