c# e语言  字节集 表示方式

 

   [System.Runtime.InteropServices.DllImport("user32.dll")]
        static extern int PostMessageA(IntPtr h, int msg, int wp, int lp);
        void 文本_投递(IntPtr h,string str) {
            byte[] b = Encoding.GetEncoding("gb2312").GetBytes(str);
            for (int i = 0; i < b.Length; i++) {
                PostMessageA(h, 258, b[i], 0);
            }
        }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-01-14
猜你喜欢
  • 2022-12-23
  • 2021-07-23
  • 2022-03-04
相关资源
相似解决方案