Loading ...
Sorry, an error occurred while loading the content.

130[vim-multibyte] Re: [56a] Can't display japanese menu

Expand Messages
  • ?? ??
    Jan 11, 2000
    • 0 Attachment
      Sorry !!!
      I missed.

      miss:

      int nChar = 0;
      nChar = MultiByteToWideChar(
      CP_OEMCP,
      MB_PRECOMPOSED,
      lpAnsiIn,
      -1,
      lpWCStr,
      sizeof(lpAnsiIn)
      );
      return nChar;

      correct:

      int nChar = 0;
      nChar = MultiByteToWideChar(
      CP_OEMCP,
      MB_PRECOMPOSED,
      lpAnsiIn,
      -1,
      lpWCStr,
      lstrlen(lpAnsiIn)+1
      );
      return nChar;
    • Show all 2 messages in this topic