Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

inp, outp function with Win32?

Posted on 1998-01-21
1
Medium Priority
?
338 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 180 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

721 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