Introduction - If you have any usage issues, please Google them yourself
Port operations do not need to write drivers in Win95/98 can be used directly to compile the In/Out commands. VC also provides _inp/_outp such a function (QA001059 outportb, inportb the corresponding function). However, under NT, can not use the In/Out commands, reference QA001296 how to use VB6 to write WindowsNT/2000 hardware under the control of IO.
If you use a hardware interrupt on the need to write drivers, the standard approach is the use of Microsoft DDK. Win98 and WinNT 4.0/5.0 the DDK can be downloaded free of charge from the http://www.microsoft.com/ddk. E-mail from your point of view, you are a user of the Education Network, you can network some education FTP site (such as the Beijing University Library) Win95/98/NT download the DDK, below some of our software can also be found . Win95 DDK compiled mainly used. If you are not familiar with the compilation, of course, is the use of VToolsD (http://www.vireo.com/) better, this package allows you to use C/C+