Hola amigos, encontre este enlace... aver si algun guru en C le da una mirada,,,
http://www.logix4u.net/inpout32.htm
Salu2
Acerca del Puerto Paralelo
- Willi Quintana
- Posts: 859
- Joined: Sun Oct 09, 2005 10:41 pm
- Location: Cusco - Perú
- Contact:
-
- Posts: 1033
- Joined: Fri Oct 07, 2005 3:33 pm
- Location: Cochabamba - Bolivia
Willi,
intenta algo asi
DLL32 function p_imp( port as WORD ) AS BYTE PASCAL FROM "Inp" lib "inpout32.dll"
DLL32 function p_out( port as WORD, val as BYTE ) AS LONG PASCAL FROM "Out" lib "inpout32.dll"
Solo lo pongo de memoria, puede que algun tipo no cache, asi que prueba cambiando los tipos
saludos
Marcelo
intenta algo asi
DLL32 function p_imp( port as WORD ) AS BYTE PASCAL FROM "Inp" lib "inpout32.dll"
DLL32 function p_out( port as WORD, val as BYTE ) AS LONG PASCAL FROM "Out" lib "inpout32.dll"
Solo lo pongo de memoria, puede que algun tipo no cache, asi que prueba cambiando los tipos
saludos
Marcelo