oup() is just a wrap function that uses the inp outp intel86 instructions to access the IO space ,. This processor has two address spaces one memory and one IO .. so it uses separate instructions to access one or the other space .But in modern OPERATING OS .. when a program tries to run this type of instructions .There IS AN EXCCEPTION ! is like an INTERRUPT .. and the OS recovers control of the APPLICATION . and it now detects that you want to access a HARWARE RESOURCE "ON YOUR OWN"
Well this is not ALLOWED .. you shoud do it by the OS defined method .. which is a DRIVER .. all this is supposed to be FOR SECURITY REASONS .. so USERS APPLICATIONS don't open BACK DOORS to hack the system ..
Is evident that in this way you can enable or disable the drivers ..
In your case you don't have them .!
The message that you got is WINDOWS saying .. OK I SHUT YOU DOWN for
indecent EXPOSURE !.. but the explanation is what i said before!