Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "Miles F. Bintz Ii" , djgpp AT delorie DOT com Date: Wed, 21 Oct 1998 16:20:48 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: PF with CWSDPMI but not WIN95 In-reply-to: X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp AT delorie DOT com "Miles F. Bintz Ii" wrote: > I have a routine that is looking at argv and trying to extract data from > it. I do a strncpy and a strtoul and one of these is causing my program > to page fault in cwsdpmi. Oddly enough, this works under win95. I cant > step through the code in DOS because of problems with LFNs, so I can't > tell you for sure which one is causeing the problem. > > Are there any known bugs with either of these funcitons? 90% of probability: The bug is in your code and you are passing a NULL pointer to one of these functions. Perhaps you are trying to retrieve more parameters than the real amount of parameters. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013