Jul 20, 2001 #1 tpremore Technical User Apr 13, 2001 22 US I am having a problem with my array of CString objects: CString Master_funcs[2000]; I get an Access Violation when trying to execute functions on the elements. Is there some way that I need to allocate memory for the array?
I am having a problem with my array of CString objects: CString Master_funcs[2000]; I get an Access Violation when trying to execute functions on the elements. Is there some way that I need to allocate memory for the array?
Jul 20, 2001 1 #2 SteveD73 Programmer Jan 5, 2001 109 GB The only thing I can think your doing is accessing elements above 2000. Try increasing the number of CString's. Upvote 0 Downvote
The only thing I can think your doing is accessing elements above 2000. Try increasing the number of CString's.
Jul 21, 2001 #3 HadiRezaee Technical User Mar 9, 2001 165 IR Hi, Why you don't use of CStringArray ? Look in MSDN ... Upvote 0 Downvote
Jul 22, 2001 #4 IonelBurtan Programmer May 25, 2001 601 RO Why is CraigD response helpful? I think Hadi has a better response. {Any of you guys wanna' convert this forum in some silly contest for points?} s-) Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees... http://www20.brinkster.com/ionelb Upvote 0 Downvote
Why is CraigD response helpful? I think Hadi has a better response. {Any of you guys wanna' convert this forum in some silly contest for points?} s-) Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees... http://www20.brinkster.com/ionelb