billroper: (Default)
[personal profile] billroper
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.

Date: 2005-07-06 06:16 pm (UTC)
From: [identity profile] autographedcat.livejournal.com
Array of Strings would be a good name for a band.

Profile

billroper: (Default)
billroper

January 2026

S M T W T F S
     1 2 3
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 5th, 2026 10:57 am
Powered by Dreamwidth Studios