写入ini、读取ini(by goahead) #写入 @writeini = Win32API.new 'kernel32', 'WritePrivateProfileStringA', %w(p p p p), 'l' @writeini.call('Game','Text','This.test',".\\Game.ini") #读取 text = "\0" * 8 @readini = Win32API.new 'kernel32', 'GetPrivateProfileStringA', %w(p p p p l p), 'l' @readini.cal ...