Page 1 of 1

Acerca del Puerto Paralelo

Posted: Wed Aug 29, 2007 12:43 pm
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

Posted: Wed Aug 29, 2007 6:14 pm
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