Mail Archives: djgpp/1997/06/22/05:24:32
On Sat, 21 Jun 1997, ERKI SAARTS wrote:
> movedata((unsigned)_my_ds,(unsigned)&my_send,send_info.pm_selector,
> send_info.pm_offset,sizeof(my_send)); (this line faults)
`_my_ds' is a function, not a variable! Your code should read like
so:
movedata((unsigned)_my_ds(),
(unsigned)&my_send,
send_info.pm_selector,
send_info.pm_offset,
sizeof(my_send));
When everything else fails, read the documentation (the libc
reference, in this case). From the DOS prompt:
info libc alpha _my_ds [Enter]
- Raw text -