what can i do to allow running privileged instructions in my code? i got from helps there's something like current prrivilegue level (CPL) taken into account when executing privgd. instructionz but nowhere stated how to manage that.
Posted on 2004-03-09 10:22:35 by _Servil_
If you *must* execute privileged instructions, you will have to write a driver. Or at least you should - there are ways around this, but either it will only work on 9x, or it will depend on OS bugs that will be fixed later, or it will require administrator privileges anyway... so, writing a driver is the right thing to do.

CPL has to do with the selector of your code segment, and thus the underlying descriptor. Fortunately, you're not allowed to mess with descriptors from ring3 code, so... write a driver =)
Posted on 2004-03-09 10:54:28 by f0dder
hoped in easier solution :D

Posted on 2004-03-09 10:59:04 by _Servil_