Bill Roper (billroper) wrote,
Bill Roper

Bounding Along

Well, this should shut BoundsChecker up for a bit.

It seems that there was a struct that contained a pointer to what was actually an array of strings, but that was being handled simply as a pointer to the first string, then accessed with the array operator in the code. This is fixed by converting the declaration to this:

CString (*MyArray)[10];

and referencing it as:

int nLen = (*MyArray)[i].GetLength();

Or, at least, so I currently think.
Tags: tech, work

  • Steps

    Today is better than yesterday. Still short on solutions, but maybe I can get some time to sort things out. Thanks, folks.

  • Well, That Escalated Quickly

    Today could have been better. Much better.

  • The More You Know

    The problem with getting older is that -- although you may know more than you did when you were younger -- it seems like there are more and more…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded