![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
|
|
#1
|
|||
|
|||
|
Algo más limpio?
Hay algo más limpio para averiguarlo?
__________________
http://www.peliculasconpalomitas.com |
|
#2
|
||||
|
||||
|
Código:
int EnumSerialPorts(TStrings* Ports)
{
int Count = 0;
char port[20];
COMMCONFIG cc;
for(int i=1; i<256; i++){
wsprintf(port, "COM%d", i);
DWORD dwSize = sizeof(COMMCONFIG);
if(GetDefaultCommConfig(port, &cc, &dwSize)){
Count++;
if(Ports) Ports->Append(port);
}
}
return Count;
}
|
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Saber los puertos abiertos del servidor | Darianrod | Servers | 0 | 24-04-2006 01:44:31 |
| Como saber la dirección de los puertos LPT y COM | Spynosa | Varios | 1 | 02-12-2005 12:55:37 |
| Puertos disponibles -2 | CelestronFan | Varios | 4 | 10-10-2005 17:30:41 |
| Leer datos de los puertos serie | Sr.Scorpion | Varios | 4 | 17-08-2005 23:40:27 |
| Puertos Serie | mrmanuel | Varios | 9 | 05-03-2004 04:04:48 |
|