Peter Beisel wrote:
> target go32v2
> compiler fpc1.0.6
>
> This sequence succeeds
> begin
> ...
> exec( 'aTSR.EXE', '');
> // execute an external programm aTSR;
> // aTSR.EXE will hook an interrupt, terminate and stay resident
> ...
> rm := global_dos_alloc( aSize);
> rmSelector
target go32v2
compiler fpc1.0.6
This sequence succeeds
begin
...
exec( 'aTSR.EXE', '');
// execute an external programm aTSR;
// aTSR.EXE will hook an interrupt, terminate and stay resident
...
rm := global_dos_alloc( aSize);
rmSelector := word( rm);
rmSegment:= word( rm shr 16)