Re: followup on hangman

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu