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

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

Expand Messages
  • ?? ??
    Sorry !!! I missed. miss: int nChar = 0; nChar = MultiByteToWideChar( CP_OEMCP, MB_PRECOMPOSED, lpAnsiIn, -1, lpWCStr, sizeof(lpAnsiIn) ); return nChar;
    Message 1 of 2 , 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;
    Your message has been successfully submitted and would be delivered to recipients shortly.