Re: followup on hangman
- Posted by andi49 Jun 06, 2012
- 3810 views
Hallo
irv said...
Hey, that works well, with the exception of a couple of things. One seems related to file paths (or canonical_path) of images. Shouldn't be too hard to track down, I think. Perhaps it is only a problem on Windows 7.
You mean like in worldflags.ex?
object flaglist = dir(canonical_path("~/demos/flags/flags-*.png"))
At least on WinXP canonical_path works like expected. You got to move everything in your 'drive:\Documents and Settings\user' Folder.
From the manual:
"If path_in begins with a tilde '~' then that is replaced by the contents of $HOME in unix platforms and %HOMEDRIVE%%HOMEPATH% in Windows."
I can't test it on Win7. But i will give it a try on Win8 (if GTK works there).
Andreas