Jump to content
Sign in to follow this  
hamsteren

error running compiled script

Recommended Posts

hamsteren

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

Share this post


Link to post
Share on other sites
poisonkiller

Could you post us your script?

Share this post


Link to post
Share on other sites
hamsteren

#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

Share this post


Link to post
Share on other sites
Kip

#include <GUIConstants.au3> ???

btw:

Line 0 (File "blablabla.exe"):

part of script

ERROR: VARIABLE USED WITHOUT BEING DECLARED

What does it say? Instead of 'part of script' Edited by kip

Share this post


Link to post
Share on other sites
hamsteren

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

Share this post


Link to post
Share on other sites
poisonkiller

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

Share this post


Link to post
Share on other sites
hamsteren

ja idd, HAMSTEREN :rolleyes:

hahaha

Share this post


Link to post
Share on other sites
hamsteren

problem solved,

i didn't load the GUI instances

Share this post


Link to post
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
Sign in to follow this  

×