Hi there,
For some reason that I cannot fathom, #including dos.h is not working. I'm a fairly competent programmer and am quite familiar with using #include to include other files in my program.
I am using C++Builder 5 with the updatepack 1. I have tested other STL H files which seem fine, but dos.h does not seem to have the functions it is supposed to.
Specifically, I am trying to use MK_FP() (in the following context: )
Code:
unsigned char *vga = (unsigned char *) MK_FP(0xA000, 0); // pointer to video card
MK_FP() is apparently not defined.
Is there something I'm missing? Has anybody else ever had this problem? I've been wracking my brain for hours over this - it just doesn't make sense to me.