Re: Llama/GTK
- Posted by Robert Craig <rds at ATTCANADA.NET> Oct 26, 1999
- 509 views
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