PDA

View Full Version : [Ruby] TK


CozzaAmara
29-11-2008, 17:26
Ciao,

stavo cercando di capire come creare il primo script ad interfaccia grafica.

es:


require 'tk'
hello = TkRoot.new {title "Hello World"}
Tk.mainloop


Ho scaricato ActiveTcl ma quando tento di eseguire il file mi trovo con un messaggio di errore:

"Impossibile avviare l'applicazione specificata. tk84.dll non è stato trovato. Una nuova installazione dell'applicazione potrebbe risolvere il problema."

Non ho capito se mi basta aver scaricato ActiveTcl oppure devo scaricare qualcos'altro.

Grazie.

atragon
29-11-2008, 22:27
Potrebbe essere una versione errata di TCL? A un collega era successa una cosa simile e c'era un conflitto di quel genere....

CozzaAmara
30-11-2008, 10:56
Ti ringrazio, in effetti ho disinstallato la TCL 8.5.5 e messo la 8.4 e ora sembra funzionare senza problemi. ;)

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.