FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Antonio: outportbyte()
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
To Antonio: outportbyte()
Posted: Wed Jul 24, 2013 09:33 AM

Antonio, i will use this function for 32 bit. But not functioning. Can you please help me to rewrite for 32 bit? I am using a kernel-driver for direct access to ports.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: outportbyte()
Posted: Wed Jul 24, 2013 12:22 PM
Günther,

I have no experience in kernel drivers development, I have never seen their source code. Do you have an example ?

Why do you need to be on kernel level ? I found a library that I once suggested to a FWH user:
http://www.zealsoftstudio.com/ntport/
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: To Antonio: outportbyte()
Posted: Wed Jul 24, 2013 06:51 PM

Antonio, I use this for driving a stepper-motor over the parallel-port.
A source for such kernel-mode-driver you found on:

http://www.highrez.co.uk/downloads/inpout32/default.htm

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: outportbyte()
Posted: Thu Jul 25, 2013 12:58 PM
Günther,

Do you mean to create the C wrappers for http://www.highrez.co.uk/scripts/download.asp?package=InpOut32C ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: outportbyte()
Posted: Thu Jul 25, 2013 01:04 PM

You could try

DLL FUNCTION Out32( nPort AS LONG, nValue AS LONG ) AS VOID LIB "InpOut32.DLL"

DLL FUNCTION In32( nPort AS LONG ) AS LONG LIB "InpOut32.DLL"

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion