[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Tk problem

Chris Finch

1/3/2007 11:02:00 AM

Hi, I get the following message when trying to use Tk
"This application has failed to start because tk84.dll was not found.
Re-installing the application may fix this problem."

I am using Ruby 1.8.4.

Has anyone else come across this? I thought Tk was included in ruby.

Or am I missing something?

Chris.

--
Posted via http://www.ruby-....

4 Answers

Gregor Kopp

1/3/2007 11:18:00 AM

0

Chris Finch schrieb:
> Hi, I get the following message when trying to use Tk
> "This application has failed to start because tk84.dll was not found.
> Re-installing the application may fix this problem."
>
> I am using Ruby 1.8.4.
>
> Has anyone else come across this? I thought Tk was included in ruby.
>
> Or am I missing something?
>
> Chris.
>

Youre missing par example activetcl from activestate if you are using
windows.

Gregor Kopp

1/3/2007 11:23:00 AM

0

>
> Youre missing par example activetcl from activestate if you are using
> windows.

Sorry for double posting.
In Ruby are only the bindings to tcl. You need a tcl distribution wich
you can get her for example:
http://www.active...

Choose here ActiveTCL (its free)

Chris Finch

1/3/2007 12:21:00 PM

0

I have got Tk working - but now want to use Tile to give native look and
feel.
I have used the following code:
Tk::Tile.__Import_Tile_Widgets__

but get in reply:

uninitialized constant Tk::Tile
from C:/InstantRails/ruby/lib/ruby/1.8/tk.rb:1869:in `const_missing'

Tile appears in:
C:\InstantRails\ruby\lib\ruby\1.8\tkextlib

How do I make it work?

Chris

--
Posted via http://www.ruby-....

Hidetoshi NAGAI

1/12/2007 1:50:00 PM

0