Privileged instruction in C
问题 I'm having some problems with C. I am trying to program a parallel port in Windows 7 Professional x64 in VS 2010 Ultimate. Since I do not have a parallel port, I'm using a converter from USB->Parallel and Windows installed the drivers correctly. I've soldered 8 LED-s on the end of the parallel connector and they are all working fine when I connect the USB into the computer. Now, I would like to control the parallel port via my program written in C which is: #include <stdio.h> #include <dos.h>