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

    visual C++ direct programming

    how can you directly store a value into an address location ?

    i want to store a value of 255 into the address location 768 to control a device

    tony m


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: visual C++ direct programming

    I assume by 'location 768' you mean port number? You could try _outp(768, 255), but be warned that this will NOT work under Windows NT, which does not allow you to fiddle with hardware ports without a device driver.



    --
    Jason Teagle
    [email protected]

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