Trying to access one byte in memory using segment/offset, like this
union REGS in, out; struct SEGS segs; int v; char _far* p; ... int86x(...,&in,&out,&segs); p = (segs.es << 16) + out.x.bx + 4; v = (int)*p;
and get "warning C4047: different levels of indirection" (and the value of
v does not seem to be correct).
What am I doing wrong?
More info: at location
p there is an eight byte struct, and I want the fifth byte only.