🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #668

Re: Need help on TSR's

#668
From: geeslin
Date: Fri, 10 Apr 1992 21:21
38 lines
2385 bytes
> ----------------------------------------------------------------------
> This is a reposting, because I didn't get any respons on the last one.
> ----------------------------------------------------------------------
> 
> where we develop/use some tsr-routines. 
> The source code is a combination of MS C (ver. 6.0.) and assembly.
> 
> When certain events occur, the tsr does an system call (C function: 
> spawnlp()). But, for some reason the tsr is not able to launchthis child 
> process. 
> I've tried some debugging wich include: making a small driver C routine 
> (not an tsr) to check the spawnlp() system call. This all worksjust fine. 
> So to me it seems like it's the tsr that causes the problem.
> I've checked the return-value from the spawnlp() function. It returns a 
> value that indicate some memory errors/problems (error code : ENOMEM).

	Sure looks like you have let the system believe you have
	allocated the memory.  Is there enough to load your
	child process?  Are you SURE?!?!

> So my questions are:
> - Does anybody know what's wrong ?

	No, but several of us have decided you have not provided us
	with enough information to allow us to hazard a guess.  I really
	stuck my neck out to suggest the above.

> Thanks,
>         Robert.
> *****************************************************************************
> *                                                                           *
> *                       SKIERS DO IT WITH POWDER                            *
> *                                                                           *
> *****************************************************************************
-- 
Robert H. Geeslin, Ed.D.                    | Voice (918) |  Department
Geeslin@VMS.OCOM.OKSTATE.EDU                | 582-2681 day|      of
doing EDucational Programming for 20 years  | 224-0065 eve|  P. and B.S.
Technical Details
Message-ID: <1992Apr10.152140.1@vms.ocom.okstate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!convex!constellation!unx.ucc.okstate.edu!vms.ocom.okstate.edu!geeslin
References: <oddt.4@sofus.dhhalden.no>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!convex!constellation!unx.ucc.okstate.edu!vms.ocom.okstate.edu!geeslin
From: geeslin@vms.ocom.okstate.edu
Subject: Re: Need help on TSR's
Message-ID: <1992Apr10.152140.1@vms.ocom.okstate.edu>
Lines: 38
Sender: news@unx.ucc.okstate.edu (USENET News System)
Organization: College of Osteopathic Medicine, O.S.U.
References: <oddt.4@sofus.dhhalden.no>
Date: Fri, 10 Apr 1992 21:21:40 GMT