Re: Llama/GTK

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

David Cuny writes:
> The code:
>     atom GTK
>    GTK = open_dll("xxx")
> caused an error, while:
>  object GTK
>  GTK = open_dll("xxx")
> didn't. The "xxx" in the example is the actual value;
> instead of setting GTK to zero (not found), it presented
> an error. I'd guess it to be some sort of type error, but
> I'm too fuzzy-headed to track it down, and I'm
> currently running the PD version, so Euphoria's
> being unhelpful.

I typed in the exact code that you have there, and it
set GTK to 0 as expected. I looked at the internal code
for open_dll() and it doesn't look like it could ever
return anything other than an atom.
Maybe you should try it again with the Complete Edition.
Perhaps the type_check failure occurs on some
other statement later on.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu