I wrote a script and saved it like it's normal as an au3 file. Then I ran it as beta. Everything works perfect. But when I compile the script to an exe file it works not how it should work. Some functions won't work.
For example:
I'm going to read out an html file with a text "1.0.1". In the script is a text "1.0". Now it should compare if the both are the same or not. If not, it should show me it in a MsgBox.
But now when it's the same:
IN AU3 it prints out: "No updates available!"
IN EXE it prints out: "Version 0 is available!"
Then there is a second error. But why the compiled script isn't the same as the au3 script?
$ie=_IECreate("http://www.tobiserver.kilu.de/SWAP/version.htm",0,0)
$ieread=_IEBodyReadText($ie)
If $ieread = "1.0.1" Then
MsgBox(0,"SoundWave Audio Player","Keine Updates verfügbar!")
Else
MsgBox(0,"SoundWave Audio Player","Version " & $ieread & " steht zum Download bereit" & @CRLF & @CRLF & "http://www.tobiserver.kilu.de/soundwave.htm")
EndIf