VB中直接用string吧反正是字符窜

解决方案 »

  1.   

    这样写
    strSrcAppSegName(1 To 24) As Byte
    可以参考
    LOGFONT结构体在VB中的声明方式
    Public Type LOGFONT
            lfHeight As Long
            lfWidth As Long
            lfEscapement As Long
            lfOrientation As Long
            lfWeight As Long
            lfItalic As Byte
            lfUnderline As Byte
            lfStrikeOut As Byte
            lfCharSet As Byte
            lfOutPrecision As Byte
            lfClipPrecision As Byte
            lfQuality As Byte
            lfPitchAndFamily As Byte
            lfFaceName(1 To LF_FACESIZE) As Byte
    End Type