Hi again,

I'm sorry to still be asking about this but I am at the end of my tether.

I have tried to change the variables of the class to be dynamically
allocated but this wont work, the code I tried was :

CharPtr name;
....
name = (CharPtr)MemPtrNew(StrLen{in_name));
StrCpy(name, in_name);

Any ideas why that doesn't work?

I have also changed the array declaration from :

Film filmArray[Max_Film_Num];

to :

Film * filmArray  = new Film[Max_Film_Num];

The app still crashes when Max_Film_Num is any greater that 13.

Is there ANYTHING I can do to increase the size of this data structure?  I
have had a look at some DB code and it makes no sense to me, it really is
a last resort.


Thanks again for listening,

Neil

Reply via email to