![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#13
|
||||
|
||||
|
Código:
typedef short (*OUT32_PTR) (short Addr);
typedef void (*INP32_PTR) (short Addr, short Port);
// . . .
HINSTANCE hModule = LoadLibrary("inpout32.dll");
if (hModule)
{
INP32_PTR Inp32 = (INP32_PTR)GetProcAddress(hModule, "Inp32");
OUT32_PTR Out32 = (OUT32_PTR)GetProcAddress(hModule, "Out32");
Inp32(Outp32(0x378), 1); // example
FreeLibrary(hModule);
}
![]() |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Puerto paralelo | bactering | Varios | 8 | 15-09-2011 07:55:09 |
| PWM con puerto paralelo... | emeceuy | Varios | 5 | 19-07-2007 20:30:23 |
| Puerto paralelo en C | Chase | C++ Builder | 0 | 04-07-2005 12:29:37 |
| Puerto Paralelo | jorge | Lazarus, FreePascal, Kylix, etc. | 1 | 20-04-2005 03:25:42 |
|