RE: Al Getz Display Server
- Posted by jondolar <lavigne.s at videotron.ca> Jul 27, 2003
- 531 views
Pete Lomax wrote: > I've put up a little program using Thomas Parslow's ipc handler, which > is still in proof-of-concept stage. Can someone test it on XP? > > The url is http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html > It is the last item on that page. > > Originally I wrote this for an entirely different purpose. > The files are: > run.exw - similar-ish to the display server, it runs in the > background. If you run this, it starts up test.exw automatically. > test.exw - a test program. If you run this it will automatically load > run.exw if it is not already running (there is a lost focus bug - tho > I'm sure that can be fixed fairly easily). > test2.exw is a tiny message_box example. > > Pressing Run should fire up the message box, closing that should post > a message back to the calling program and display it. It is not at > this stage supposed to look anything like Display Server. > > If (*IF*) it works on XP, it would have some advantages over Al Getz's > Display Server: it is written entirely in Euphoria, so it would be > easy for someone to make it scrollable, change the font, add a clear > button, etc, and it is not necessary to remember to fire up the > display server beforehand. Maybe someone would like to tidy it up? It > needs a complete rewrite really, but hey, it's only 300 lines of code. > The demo uses win32lib, but I don't think it would be too hard to make > it cross-lib. > > Pete Hi Pete I tried your little program on my Win XP machine and it seems to work correctly. When I fire test.exw, I get a little witndow and a counter incrementing and scroling up automatically on the left side of the RUN button. If I press RUN, I get the win console with some various called functions from win32. Closing the box produce essentially the same effect with a longer list of called functions. Regards Serge Lavigne