Solved

inp, outp function with Win32?

Posted on 1998-01-21
1
333 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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