Click to See Complete Forum and Search --> : visual C++ direct programming


tony m
May 10th, 1999, 12:47 AM
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

Jason Teagle
May 10th, 1999, 03:14 AM
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.