|
-
November 11th, 1999, 06:50 AM
#1
Hardware port access using API function.
Hi EveryOne,
I need to access hardware port address value, in api function, I don't know the function name and what Dlls i want to use, Pls. help me.
Example in c language : _inpw()
Email ID : [email protected]
Best Regards.
K.Babu
Please avoid sending emails to my personal mail:
write your doubts as thread in Codeguru
Crystal Reports Forum.
This will help all people having similar matters, and will let people who know solutions on the specific topic
share their knowledge.
Visit my company web site (Qmax Test Equipments Private Limited)
Yours friendly,
K.Babu
-
December 15th, 1999, 12:54 PM
#2
Re: Hardware port access using API function.
Hi Babu
You Could Try to use the GetDeviceCaps API
Public Declare Function GetDeviceCaps Lib "gdi32" Alias "GetDeviceCaps" (ByVal hdc As Long, ByVal nIndex As Long) As Long
You will need to pass the device context Handle and the constant. If you have the book by Dan Apple man it will help you immensely with Win APIs
Regards
Vikram
-
January 10th, 2000, 02:30 PM
#3
Re: Hardware port access using API function.
Windows does not allow Applications to read/write directly to hardware ports. You may have to implement a VxD and an application or use a tool like DriverAgent from Numega.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|