Click here to Skip to main content
16,003,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using SHGetFolderPath Pin
PJ Arends28-Feb-03 6:13
professionalPJ Arends28-Feb-03 6:13 
GeneralRe: Using SHGetFolderPath Pin
Gary R. Wheeler1-Mar-03 2:41
Gary R. Wheeler1-Mar-03 2:41 
Questionold fashioned memory access in a visual C++ console application? Pin
codedancer27-Feb-03 8:58
codedancer27-Feb-03 8:58 
AnswerRe: old fashioned memory access in a visual C++ console application? Pin
Erik Juhl27-Feb-03 9:22
Erik Juhl27-Feb-03 9:22 
GeneralRe: old fashioned memory access in a visual C++ console application? Pin
codedancer27-Feb-03 9:34
codedancer27-Feb-03 9:34 
GeneralRe: old fashioned memory access in a visual C++ console application? Pin
Gary R. Wheeler1-Mar-03 2:48
Gary R. Wheeler1-Mar-03 2:48 
GeneralRe: old fashioned memory access in a visual C++ console application? Pin
Anonymous1-Mar-03 10:01
Anonymous1-Mar-03 10:01 
GeneralRe: old fashioned memory access in a visual C++ console application? Pin
Gary R. Wheeler1-Mar-03 14:20
Gary R. Wheeler1-Mar-03 14:20 
Probably what's happening in this case is that XP has 'virtualized' the hardware sufficiently to make the DOS program think that it is accessing the hardware directly. In actuality, the processor intercepts the I/O instructions executed by the DOS virtual machine, and substitutes whatever actions it deems appropriate.

Windows XP goes much further along this path than any previous version, in order to smooth the way toward a common, Win32-based version of Windows. XP realizes that goal, partly through this virtualization and partly through the attrition of DOS applications.

My intent in my original response was mainly to discourage the author from pursuing this method in a new application. A much better approach would be to use the API mechanisms provided for the purpose, rather than relying on a 'band-aid' that may not be around in the next major release of the O/S.


Software Zen: delete this;
AnswerRe: old fashioned memory access in a visual C++ console application? Pin
dim136-Jan-05 2:05
dim136-Jan-05 2:05 
GeneralImPLEMENT_DYNAMIC Pin
ns27-Feb-03 7:54
ns27-Feb-03 7:54 
GeneralRe: ImPLEMENT_DYNAMIC Pin
Dave Bryant27-Feb-03 8:24
Dave Bryant27-Feb-03 8:24 
Generalthanks! Pin
ns27-Feb-03 8:32
ns27-Feb-03 8:32 
GeneralEfficient use of memory and filtering Pin
Anton A. Loukine27-Feb-03 6:41
Anton A. Loukine27-Feb-03 6:41 
GeneralRe: Efficient use of memory and filtering Pin
John M. Drescher27-Feb-03 6:50
John M. Drescher27-Feb-03 6:50 
GeneralRe: Efficient use of memory and filtering Pin
Anton A. Loukine27-Feb-03 7:20
Anton A. Loukine27-Feb-03 7:20 
GeneralRe: Efficient use of memory and filtering Pin
Daniel Turini27-Feb-03 7:34
Daniel Turini27-Feb-03 7:34 
GeneralRe: Efficient use of memory and filtering Pin
John M. Drescher27-Feb-03 7:48
John M. Drescher27-Feb-03 7:48 
QuestionAutomatic generation of MS Visual C++ projects ? Pin
CHARMAN27-Feb-03 6:19
CHARMAN27-Feb-03 6:19 
AnswerRe: Automatic generation of MS Visual C++ projects ? Pin
AlexO27-Feb-03 8:21
AlexO27-Feb-03 8:21 
GeneralSHGetFileInfo: I can't get SHGFI_ICONLOCATION to work Pin
Mike Morearty27-Feb-03 6:15
Mike Morearty27-Feb-03 6:15 
GeneralRe: SHGetFileInfo: I can't get SHGFI_ICONLOCATION to work Pin
AlexO27-Feb-03 8:38
AlexO27-Feb-03 8:38 
GeneralRe: SHGetFileInfo: I can't get SHGFI_ICONLOCATION to work Pin
Mike Morearty27-Feb-03 8:49
Mike Morearty27-Feb-03 8:49 
GeneralCSliderCtrl notifications Pin
Maximilien27-Feb-03 5:25
Maximilien27-Feb-03 5:25 
GeneralRe: CSliderCtrl notifications Pin
AlexO27-Feb-03 5:59
AlexO27-Feb-03 5:59 
Generalmultiple windowed apps Pin
SumGuy27-Feb-03 5:19
SumGuy27-Feb-03 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.