Mail Archives: djgpp/1998/10/21/15:18:06
"Miles F. Bintz Ii" <bintzimf AT clarkson DOT edu> 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
- Raw text -