Open luke7chris opened 2 years ago
首次尝试运行程序报错,登陆验证码无法显示,错误代码 System.TypeInitializationException has been thrown "The type initializer for 'Gdip' threw an exception."
报错代码为 const int randAngle = 45; //随机转动角度 int mapwidth = (int)(randomCode.Length * 16); Bitmap map = new Bitmap(mapwidth, 28);
有事找度娘,安装一下依赖库应该可以了。
首次尝试运行程序报错,登陆验证码无法显示,错误代码 System.TypeInitializationException has been thrown "The type initializer for 'Gdip' threw an exception."
报错代码为 const int randAngle = 45; //随机转动角度 int mapwidth = (int)(randomCode.Length * 16); Bitmap map = new Bitmap(mapwidth, 28);