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

  • The Tomorrow War

    Gretchen and I got around to watching this tonight. As I said to Gretchen at one point during the film, it's the best bad movie I've seen in a while.…

  • Fzzzt!

    On Saturday, Julie called me to come to the basement, because there was a horrible high-pitched noise that had gone away by the time I got there. I…

  • Here Comes the Rain Again

    The thunderstorms have arrived. Boy, have they arrived! Happily, I got the electrostatic air filters back off the patio where I had taken them out…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded