Far Pointers
-
I have some coding to do which involves the use of far pointers. From what I have been able to root out VS does not support far pointers. Before I pull out Borland C++ 4.5, is this correct or does VS support far pointers?
this thing looks like it was written by an epileptic ferret Dave Kreskowiak
-
I have some coding to do which involves the use of far pointers. From what I have been able to root out VS does not support far pointers. Before I pull out Borland C++ 4.5, is this correct or does VS support far pointers?
this thing looks like it was written by an epileptic ferret Dave Kreskowiak
Far pointers are a holdover from 16bit segmented architectures on 8086 processors. If you're using a compiler from Visual C++ 1.0 onwards, or any other 32-bit compiler, you don't need to worry about it. The Windows SDK
typedef
'sFAR
to an empty string. -
Far pointers are a holdover from 16bit segmented architectures on 8086 processors. If you're using a compiler from Visual C++ 1.0 onwards, or any other 32-bit compiler, you don't need to worry about it. The Windows SDK
typedef
'sFAR
to an empty string.Thanks for the reply. I am working with legacy code which contains such wonderful calls as FP_OFF(), FP_SEG(). I believe it is these calls and the manipulation of far pointers which is crashing the code. Short of writing a header file to handle far pointers I was hoping VS may have had some obscure setting for dealing with far pointers. I suspect it is time to dust off Borland and fire up the Windows 98 machine.
this thing looks like it was written by an epileptic ferret Dave Kreskowiak