Solved

inp, outp function with Win32?

Posted on 1998-01-21
1
337 Views
Last Modified: 2013-12-03
Dear Experts:

I'm trying to convert old 16bit windows program to 32bit windows one. I used this program to control ADC/DAC cards.
So there are lots of inp and outp function to read and write
to ports to control these interface cards.
But when I tried to convert this program to 32bit one using
C language(Borlandc++4.5 , 5.0 but not C++), I got error messages that in 32bit mode, there are no inp and outp function.
What should I do to remedy this problem?
Is there any compatible function or other way to use this
functions in 32bit programming?
Thank you in advance.
0
Comment
Question by:slumber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 90 total points
ID: 1410249
Under win32, you can not directly access the port in applications.  So you have to write a vxd (device driver) for your task.  You can get microsoft DDK for detail as how to write a vxd.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question