Mail Archives: djgpp/1997/10/31/15:31:22
I've got a question about movedata.
I've allocated some memory and I've got the selector for it. Then I want
to move some of the allocated memory to a variable.
Doing something like this:
movedata(source_selector,0,_my_ds(),&int_variable,2);
I get an General Protection Fault and a Call frame traceback error, and
my program exits with an error code of 255.
However, if I do something like this:
movedata(_my_ds(),0,my_ds(),&int_variable,2);
Everything works OK.
Anyone?!!!
- Raw text -