From: "Hal E. Fulton" Date: 2001-06-17T13:40:33+09:00 Subject: [ruby-talk:16550] Tk problems Hello all... Trying to figure out what's going on here. I *thought* the Tk stuff was working fine for me a few weeks back... but this weekend things are not looking good. FYI, I'm running Win98SE, Ruby 1.6.2 Cygwin. Trying out the "Hello world" program from the Pickaxe Book works fine. However -- first problem. I thought that I could append "m" onto "padx" and "pady" (giving "padxm" and "padym") and switch from pixels to millimeters. It didn't change anything (though it ran). Also tried "c" and "i" (cm and inches). Then I thought: Maybe I'm supposed to append it onto the numeric value. So I changed the numbers to strings and appended characters. No luck. (Somehow it ran the same way, though it hung at the end.) Second problem: Trying out the Pig Latin example works fine *except* that when I press Exit, it crashes Ruby (with an illegal operation). For what it's worth, the details are below. Thanks for any insight, Hal --------------------------- RUBY caused an invalid page fault in module TK83.DLL at 0167:0eb8e20e. Registers: EAX=0045d534 CS=0167 EIP=0eb8e20e EFLGS=00010202 EBX=10000000 SS=016f ESP=160efa70 EBP=160efa7c ECX=00411548 DS=016f ESI=00000000 FS=4d3f EDX=0253e9a8 ES=016f EDI=00000001 GS=0000 Bytes at CS:EIP: 8b 42 08 3b 45 f8 75 0a 8b 4d f4 c7 41 08 00 00 Stack dump: 0253e9a8 004b0558 00411548 160efb04 0ebe067b 004391c4 0000016f 160efae2 31304c53 160efac4 00000011 0000006d 00000000 004500e8 004b2598 004b2598