[fpc-pascal]FreePascal, Go32 and inDOS-flag

Aitor Santamaria Merino aitor.sm at wanadoo.es
Tue Jan 8 01:37:53 CET 2002


Sorry!! I wrote my message in a run. Some punctualizations...

> I am trying to write a program to write a screehshot capture program, 
> working as a TSR activated with certain combination (AltGr+F8). In order 
> to avoid problems with 16/32 bit when doing a TSR, I have made it under 
> TurboPascal.

A TEXT MODE capture programs, sensible to codepages.

> In ALL the cases, the result was always THE SAME:
> I could capture the 'final' word, but was NEVER able to capture the 
> 'inside' word.
> 
> But, see how curious, I have realised that my TSR program does not make 
> use of DOS calls (other than SetIntVect,Keep, etc, performed only at 
> install/uninstall).


THEREFORE, I removed all the InDOS-related code (and int 28h scheduler, 
etc), and the program WORKED, now I can shoot FPK applications as well.

By the way, I am planning to release the program under GNU-GPL, it's not 
too efficient, too restrictive (only VGA), not too fast, but it took 
"only" some hours of my time, and works, that's what I needed. If 
someone is interested, do let me know...

Aitor





More information about the fpc-pascal mailing list