Mail Archives: djgpp/1998/05/31/05:32:07
On 31 May 1998 03:58:35 GMT, malcolmj7 AT aol DOT com (MalcolmJ7) wrote:
>Is there a way to write TSRs in DJGPP?
>I used to use _dos_keep, but it's not in DJGPP.
>
>How do I write them in DJGPP?
>
Like this:
char *path = getenv( "COMSPEC" );
execl( path, path, NULL );
This causes a DOS shell, with your program still loaded. There isn't
any other way, the normal DOS keep function is not supported.
I think this is discussed in the INFO pages, unfortunately I can't
find it now that I look for it.
Cheers,
Brett
---------------------------------------------------
Brett Porter <blp01 AT uow DOT edu DOT au>
http://members.xoom.com/brett_porter
"I always like to do a first draft before being
spontaneous." -- The Sandman
---------------------------------------------------
- Raw text -