Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Direct control PC I/O ports under Windows'2000

Author
Message
GANS
21
Years of Service
User Offline
Joined: 13th Nov 2002
Location: Bulgaria
Posted: 16th Nov 2002 18:30
Hello, guys!

We want to make a DarkBasicPro program which can control directly the I/O computer ports (parallel port - LPT1) under Windows '2000. Help us with a short source code, who shows how this happens.

Maybe, for this purpose, it must be used "DLPORTIO.dll" library. Could you be so kind to show us how the DarkBasicPro program will use this library?
Which are the functions for writing to I/O port and for reading from I/O port?

I'm looking forward to your reply on e-mail: tv-bourgas@bs.spnet.net

Cheers!

Yours sincerely,
Gancho Slavchev
e-mail: tv-bourgas@bs.spnet.net
rapscaLLion
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 16th Nov 2002 19:13
There are no built in commands for accessing I/O ports, and I'm not sure what DLPORTIO.dll is, could you tell me how I could look at it?

Sorry

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
swdave
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 17th Nov 2002 02:35
You might try this WinIO.dll from http://www.internals.com



The RetPortVal function for winio.dll




Login to post a reply

Server time is: 2024-04-18 14:55:53
Your offset time is: 2024-04-18 14:55:53