Acerca del Puerto Paralelo

Post Reply
User avatar
Willi Quintana
Posts: 859
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú
Contact:

Acerca del Puerto Paralelo

Post by Willi Quintana »

Hola amigos, encontre este enlace... aver si algun guru en C le da una mirada,,,

http://www.logix4u.net/inpout32.htm

Salu2
Marcelo Via Giglio
Posts: 1033
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Post by Marcelo Via Giglio »

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
Post Reply