CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: OutPortB

  1. #1
    Join Date
    Aug 2003
    Posts
    938

    OutPortB

    Hello.
    Anyone knows how to access outportB on windows NT systems?
    I think it has been disabled or something...any ideas what it is?
    thx

  2. #2
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: OutPortB

    Quote Originally Posted by Quell
    Hello.
    Anyone knows how to access outportB on windows NT systems?
    I think it has been disabled or something...any ideas what it is?
    thx
    Only 0 privileged code segment (that's only the kernel) can use the outport functions to write data to a specified hardware port. Since you are running in usermode (and that means in privilge step 2) you won't be able to access the hardware. A kernel driver has the access rights to use the out instruction. So write one
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured