N
Nicolas Muller
I have tried to access IO ports under XP (just using _inp function in C++).
This triggers a privilege violation exception.
The reason is apparently that - by default - programs run under user mode,
and inp is a "sensible" instruction for the system.
We have to switch to system mode apparently or is there any smart solution
which is more convenient to the system ?
(in particular how is it possible to have access to the printer ports)
Does anyone know how to do that ?
Is there any available example anywhere ?
This triggers a privilege violation exception.
The reason is apparently that - by default - programs run under user mode,
and inp is a "sensible" instruction for the system.
We have to switch to system mode apparently or is there any smart solution
which is more convenient to the system ?
(in particular how is it possible to have access to the printer ports)
Does anyone know how to do that ?
Is there any available example anywhere ?