VOGONS


First post, by Yocttar

User metadata
Rank Newbie
Rank
Newbie

Hello,

I have an windows 16 application written in visual c 1.52, the application works perfect on windows 95. On windows XP there are 2 problems - ports and memory access.
I was able to fix both with direct i\o (http://www.direct-io.com/) but the application is also using the serial port (command opencomm) and the direct io software conflicts with the api of the serial port, My question is: is there another solution to open both ports and memory? I know that porttalk will open ports and it works with the serial port but it doesnt open memory access.

Thanks.

Reply 1 of 7, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

I recall there was a program called UserPort, though I'm not sure where to find it at the moment. Perhaps that will work?

Reply 2 of 7, by Yocttar

User metadata
Rank Newbie
Rank
Newbie

Found User port and it seems like its only enabling port access which porttalk does perfectly, I also need MMIO (Memory mapped io) access

Reply 3 of 7, by kjliew

User metadata
Rank Oldbie
Rank
Oldbie

Google for WinIO. It supports port-IO and memory-mapped IO.

Reply 4 of 7, by Stiletto

User metadata
Rank l33t++
Rank
l33t++
kjliew wrote:

Google for WinIO. It supports port-IO and memory-mapped IO.

Off-topic but I wanted to tell kjliew that he is awesome. 😀

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 5 of 7, by Yocttar

User metadata
Rank Newbie
Rank
Newbie

WinIO is a dll library that is possible to use with Visual C 6 and up. I have visual c 1.52 and I'm looking for something similar to the way porttalk and directIO is working.

Reply 6 of 7, by NJRoadfan

User metadata
Rank Oldbie
Rank
Oldbie

Out of curiosity, what type of program is it? Typically Windows programs treat serial port I/O like a file and don't require direct hardware access.

Reply 7 of 7, by Yocttar

User metadata
Rank Newbie
Rank
Newbie

It does treat it like a file - it uses the opencomm function which is similar to the openfile in vc 6+. but direct io is conflicting with the command.