Jump to content

error running compiled script


Recommended Posts

When starting the exe file i get this error

Line 0 (File "blablabla.exe"):

part of script

ERROR: VARIABLE USED WITHOUT BEING DECLARED.

I check out where it came from but i cannot find a solution

It looks like my script can't use ex. $ES_READONLY

when running the AU3 file, it works perfect

Link to comment
Share on other sites

#include <Misc.au3>
#include <GuiListView.au3>
global $ma[Ú[ÝË  ÌÍÚ[Ý[ÙË  ÌÍÛÙÂÌÍÛXZ[Ú[ÝÈHÝZPÜX]J    ][ÝÑPÐÈFæF&B6ögGv&7FÆÆFöâFööÂ
Ö6VÂföWFVâgV÷C²ÂCÂCÂÓÂÓ)U%MÑ%½¸ ÅÕ½Ðí¹¥¼ÅÕ½Ðì¤(ÀÌØí¥¹Íѱ±±½ôU%
Ñɱ
ÉѥРÅÕ½ÐInstaller started: [" & @ComputerName & "]" & @C   [È ][ÝËKKKKKKKKKKKKKKKKKKKKKKKKKKKKI][ÝËLLÎÎ]Ô  Ìc´U5õ$TDôäÅÂb33cµu5õe45$ôÄÂÂb33cµu5ô45$ôÄÂÂb33cµu5ôUõ5DD4TDtR¤uT
ÑɱMÑ
½±½È ´Ä°Áá¤)U%
ÑɱMÑ   ­
½±½È ´Ä°ÁàÀÀÔÔÀÀ¤)U%MÑMÑÑ ¤(íU$Functions
install()
Do
  $msg = GUIGetMsg ()

Until $msg = $ÕRWÑUSÐÓÔÑB

Link to comment
Share on other sites

Line 0 (File "S:\installer\eccSSIT.exe"):

$installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR($ES_READONLY,$WS_VSCROLL,$WS_HSCROLL),$WS_EX_STATICEDGE)
$installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR(^ERROR


Error: Variable used wihout being declared

Link to comment
Share on other sites

Try this:

#include <GUIConstants.au3>
#include <Misc.au3>
#include <GuiListView.au3>
global $mainwindow,$installlog,$msg
$mainwindow = GuiCreate("ECC Standard Software Installation Tool © Michael Voeten", 400, 400,-1, -1 )
GUISetIcon("ecc.ico")
$installlog = GUICtrlCreateEdit("Installer started: [" & @ComputerName & "]" & @CRLF & "-----------------------------",10,10,380,380,BitOR($ES_READONLY,$WS_VSCROLL,$WS_HSCROLL),$WS_EX_STATICEDGE)
GUICtrlSetColor(-1,0xffffff)
GUICtrlSetBkColor(-1,0x005500)
GUISetState()
;GUI Functions
install()
Do
  $msg = GUIGetMsg ()

Until $msg = $GUI_EVENT_CLOSE
Link to comment
Share on other sites

  • Developers

Do you have a Space or Tab infront of the #include statements ? If so remove it and try again ...

"Hamsteren = AH ?"

:rolleyes:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...