Hi,
I need to get some legacy C++ (Borland) code to compile under the Microsoft Visual C++ compiler. However, the Microsoft compiler complains that the "REGISTER" variables (i.e. the _AH, _AL and _AX variables) are not recognized as registers by the Microsoft compiler. Does anyone know how to get around this problem??
An example of the C++ code that is failing compile follows:
_AH = enhancedKeyBrd;
geninterrupt(0x16);
asciiScan = _AX;
return (int) _AL;
THANKS,
Mark Michaud.
I need to get some legacy C++ (Borland) code to compile under the Microsoft Visual C++ compiler. However, the Microsoft compiler complains that the "REGISTER" variables (i.e. the _AH, _AL and _AX variables) are not recognized as registers by the Microsoft compiler. Does anyone know how to get around this problem??
An example of the C++ code that is failing compile follows:
_AH = enhancedKeyBrd;
geninterrupt(0x16);
asciiScan = _AX;
return (int) _AL;
THANKS,
Mark Michaud.