Mail Archives: djgpp/1993/12/12/17:09:59
I must be missing something. I want to call a real-mode program to issue
some DOS calls which are not supported by GO32 1.11. I'm already doing this
using the Ergo DPM-16 extender. In that environment, I need a DEF file to
tell the linker about the DLL which is to be loaded. Everything I do looks
like it translates into an equivalent go32 call, but I can't figure out how
to actually load the program and find out where it is loaded. The docs show
an example:
r.x.cs = some_segment;
r.x.ip = some_offset;
r.x.ss = r.x.sp = 0;
_go32_simulate_fcall(&r);
How do I get values for some_segment and some_offset and make them point at
something useful?
- Raw text -