Jump to content

Input-problem


 Share

Recommended Posts

FileDelete(@ScriptDir & "\test.ini")
IniWrite(@ScriptDir & "\test.ini","test","test","ÐØΜІиІĶ")
MsgBox(0,"",IniRead(@ScriptDir & "\test.ini","test","test",""))

FileDelete(@ScriptDir & "\test.ini")

$h_file = FileOpen(@ScriptDir & "\test.ini", 2 + 32) ; 32 = Use Unicode UTF16 Little Endian reading and writing mode.
FileWrite($h_file, "[test]" & @CRLF) ; you need to write something
FileClose($h_file)

IniWrite(@ScriptDir & "\test.ini","test","test","ÐØΜІиІĶ")
MsgBox(0,"",IniRead(@ScriptDir & "\test.ini","test","test",""))

GUICreate("Test")
GUICtrlCreateInput(IniRead(@ScriptDir & "\test.ini","test","test",""),10,10,200)
GUISetState()
MsgBox(0,"",1)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...