Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1869
  • Last Modified:

[Mingw] How to access I/O port with GCC?

Hi,

I use the Dev-C++ as my programming environment. Mingw(GCC) is its default compiler. How to access I/O
port, just like inportb()/outportb() in C? BTW, where
can I find out the GCC/Mingw library reference? Thanks
in advance.

Pommy
0
pommy_lu
Asked:
pommy_lu
1 Solution
 
SirHandoCommented:
Use winio library

Get it from http://www.internals.com/

Ciao
0
 
pommy_luAuthor Commented:
Thank you! Does GCC do this with its library?  
Because Linux can do. Could you tell me how to access I/O port expect GetPortVal()/SetPortVal() in WinIO library?
0
 
moduloCommented:
PAQed with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now