I would suspect you don't have space allocated for the array. How big is the array you defined? Or have you defined just a pointer?
Can't tell from what you've posted.
Reputation Points: 3278
Solved Threads: 894
Posting Sage
Offline 7,744 posts
since May 2006