RE: Al Getz Display Server
- Posted by Al Getz <Xaxo at aol.com> Jul 26, 2003
- 592 views
jondolar wrote: > > > I Have some problems with Display Server. Lokk at my previous message > RE: A nice window vs Win console jondolar > > Thanks > > Serge > Hello there Serge, I should have mentioned that the only thing to remember is that the DisplayServer201.exe program has to be started BEFORE you start your own program using the 'connect.ew' file. The program doesnt use any processor time while it's sitting idle, and it returns much faster then a dos console. The default size starts out small, but you can drag it to a larger window with the mouse. Just to recap, the operating steps are as follows: [1] Start DisplayServer201.exe by double clicking on it. This will start a window in the upper left corner of your screen. [2] Start your own program exw or exe with the 'include connect.ew' file in it and some ServerPrint() calls. If you do [2] first and then [1], your program wont connect to the server so you wont be able to print anything. Once the starting order is right, you'll see a message that says something like: "__ClientConnected__" which tells you your own program can send data via ServerPrint(). As you already noticed, ServerPrint("Hello") is a very good test to make sure your program is truely connected. This is a very simple but VERY handy program, but if any other problems come up, feel free to let me know about them. Take care for now, Al