At 04:39 PM 3/2/99 +0000, you wrote:
>name = (CharPtr)MemPtrNew(StrLen{in_name));
>StrCpy(name, in_name);
You left off room for the terminating NULL.
name = (char*)MemPtrNew(StrLen(in_name)+1);
>
>The app still crashes when Max_Film_Num is any greater that 13.
Your problem is that you still think it has something to do with your
structure & the number of them you allocate. This is probably quite
incorrect - most likely this is just a symptom of something wrong
elsewhere, such as forgetting to free memory correctly, as suggested by
other people.
- RE: More memory problems..... Mike Pellegrino
- RE: More memory problems..... Kenneth Albanowski
- More memory problems..... Jason Dawes
- More memory problems..... Neil Davidson
- RE: More memory problems..... Mike Pellegrino
- Re: More memory problems..... Chris Antos
- Re: More memory problems..... Erica Sadun
- RE: More memory problems..... Alan Pinstein
- RE: More memory problems..... Mike Pellegrino
- RE: More memory problems..... Kenneth Albanowski
- RE: More memory problems..... Alan Pinstein
- RE: More memory problems..... Steve Patt
- Re: More memory problems..... Danko Radic
