[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to process structs with TCHARs

1) You are using internal API so it is subject to change without notice
2) It has changed!  Check out the latest code from HEAD.

Please forgive me if this is a dumb question:

Is this the standard way to process structs that posess TCHARs?  I'm working with a struct that has a few of these and one is of size 256.  Is there a better way?

//        TCHAR lfFaceName[LF_FACESIZE];
        public char
                lfFaceName0,  lfFaceName1,  lfFaceName2,  lfFaceName3,
                lfFaceName4,  lfFaceName5,  lfFaceName6,  lfFaceName7,
                lfFaceName8,  lfFaceName9,  lfFaceName10, lfFaceName11,
                lfFaceName12, lfFaceName13, lfFaceName14, lfFaceName15,
                lfFaceName16, lfFaceName17, lfFaceName18, lfFaceName19,
                lfFaceName20, lfFaceName21, lfFaceName22, lfFaceName23,
                lfFaceName24, lfFaceName25, lfFaceName26, lfFaceName27,
                lfFaceName28, lfFaceName29, lfFaceName30, lfFaceName31;