1. A.G. Display Server Update
- Posted by Al Getz <Xaxo at aol.com> Aug 02, 2003
- 464 views
Hello again, I've just submitted an updated version of the Display Server to Rob. Here are some of the FAQs in case you are wondering what the new update is all about. The main update has been to make sure it works with XP as well as 98, to use Courier New font, and also now it can be used from C or C++ (such as with translated programs) by including the "connect.cpp" file. Display Server 2.03 FAQs 08/2003 1. Server written all in Euphoria and using the Windows API. 2. Doesnt use any libraries other then standard Eu includes. 3. Uses no processor time when idle (when no text is being sent). 4. When more then one client is connected, all lines sent will get displayed even for several clients. The order is on a "first come, first serve" basis. 5. Each call doesnt return until the text is about to be displayed, so by the time it returns you will see the text it wrote to the window. This means each line print is sync'd to your programs code, even if you have several clients open at the same time. 6. Although there is no format printing (yet) you can always use sprintf() to format the data any way you choose. To print a whole line of data in a format, save the data for the whole line and then sprintf it. This will be the very next thing added to the D.S. however. 7. Uses the Courier New font instead of a variable width font. This allows showing tables much nicer. I needed this myself recently too. 8. Registered message was changed to one that uses characters that are all less then #7F. This works better with some text editors. 9. Now has been tested in Win98 and WinXP. 10. Most recent addition was a connect.cpp file so you can connect to the Display Server in C or C++ as well (like when using the translator). Future Enhancements (in this order) 1. Format printing: ServerPrintf("%d",ThisValue) 2. Variable font type/color/size 3. Scroll bar Take care, Al