Re: Delphi DLLs (Euphoria GUI's)
- Posted by David Cuny <dcuny at LANSET.COM> Dec 09, 2000
- 506 views
Ray Smith wrote: > I really think Euphoria needs another > GUI project other that Win32Lib to attempt > the mountainous job of providing a GUI. I second that motion. There's a lot of work involved in getting a GUI working under Euphoria, and it's made more difficult by having to wrap the library in a DLL. There's a lot of small stuff to deal with, like converting sequences to C strings. In wxWindows, there's a seperate class of strings that objects prefer to deal with. So you have an additional layer to work with: sequence to C string, C string to wxString. Then you have to translate the result back into a sequence, and destroy any objects that were created in the transaction. > I had thought it would come from GTK+ I'm not sure I'd pick GTK+ as the basis for a cross-platform GUI. Certainly, it's an excellent library under Linux, even if it's under daily development. But the Win32 port is more a spinoff of the Win32 Gimp port. I don't know how complete it is, and the author doesn't consider it any better than beta quality. And since it's an unofficial one-man port, there's no guarantee that work will continue on the project into the future. > wxWindows (both cross platform) I really like wxWindows. It's very complete, and has lots of nice non-GUI classes as well. There's a lot of active development on it, and it's got a rich set of GUI objects. It's possible to wrap in a DLL, since that's what wxPython does. On the other hand, it's not entirely trivial to do so. The resultant DLL is about 2 or 3 megs in size, which isn't that atypical of the size of a DLL of this sort. > but maybe a Delphi version could be considered. I get the impression that a number of DLLs would have to be shipped with any Kylix application, in addition the 'main' DLL. This could be a bit of a burden. Another possible downside is that Mac support is not going to happen, although I don't know of any great demand for such a thing. Another promising option is ZooLib (http://zoolib.sourceforge.net). The Win32 and Mac versions appear fairly complete, although the Posix (read:Linux) version lacks dropdown menus. I get the impression it's preferred compiler is MetroWerks, but I could be wrong. Personally, I think that translating Euphoria to Java continues to be an interesting option. -- David Cuny