Solved

inp, outp function with Win32?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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