Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array of CStrings 1

Status
Not open for further replies.

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?

 
The only thing I can think your doing is accessing elements above 2000. Try increasing the number of CString's.
 
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top