Solved

inp, outp function with Win32?

Posted on 1998-01-21
1
331 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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now