Acerca del Puerto Paralelo

Acerca del Puerto Paralelo

Postby Willi Quintana » Wed Aug 29, 2007 12:43 pm

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

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

Salu2
User avatar
Willi Quintana
 
Posts: 1022
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú

Postby Marcelo Via Giglio » Wed Aug 29, 2007 6:14 pm

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
Marcelo Via Giglio
 
Posts: 1069
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 49 guests