wxEuphoria
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Feb 10, 2003
- 730 views
I finally got wxWindows (v2.29)--as a DLL--working with Euphoria. I've ported the fractal demo that comes with the wxWindows source. It's up on my page: http://www14.brinkster.com/matthewlewis/projects.html There are 3 files: wxEuphoria.zip -- My source code wx22_9d1.zip -- DLL file 1 wx22_9d2.zip -- DLL file 2 Unfortunately, Brinkster doesn't allow files greater than 1Mb (at least for us cheapskates with the free accounts). Also, my bandwidth is limited to 16Mb per day, so if you experience trouble, it may be that the limit has been reached. I split the DLL using PatRat's splitter utility. In order to get the DLL assembled, you'll need to unzip everything into a directory, and then run install.ex. I've included a copy of fptr.e with the code. This new copy is required in case others have the version that's been with EuCOM. I've cleaned it up a bit and added some things, made it easier to use. I'll probably be releasing it on its own here, soon. But now I need to make some decisions, and ask for some help. :) Jim Brown, I think you volunteered for helping on the port to Linux, right. :) Beyond that, there are a lot of things to think about before the library gets coded. I'm currently leaning towards doing things in a win32lib'ish manner, rather than a wxWindows/C++ manner (which is how the demo is written), by which I mean: win32lib: include win32lib.ew -- create stuff -- event handlers, etc WinMain() wxWindows: include wxEuphoria.e -- event handlers, etc procedure init() -- create stuff end procedure WxMain() -- your init routine is called from here David C, you probably have some thoughts about this. In this respect, I think wxBasic works sorta like win32lib (big surprise :). Of course, there will be lots of other details, like how to manage event handling, and, obviously, making it all really cross platform. Matt Lewis