Code Monkey home page Code Monkey logo

consoleio's Introduction

TConsoleIO by Andrey Sevast'yanov - pipe/IPC

Andrey Sevast'yanov created for Delphi 7 a very useful class: TConsoleIO.

According to Andrey, it was originally designed to enable communication between applications written in Delphi and chess engine games, but he already stated which could have other uses.

Under Windows this class enables the communication of a Delphi program with other applications on the same computer (written in Delphi or in other languages) sending and receiving messages quickly, efficiently and securely. All specification and control is done by the application side in Delphi. That is, a Client/Server structure is not required.

This class has been used in the OpenSource Tinn-R project to establish a pipe connection between Tinn-R.exe and Rterm.exe for many years, seamlessly traversing the evolution of the Windows operating system (NT, XP, Vista and 10) and the R environment about more than 10 years.

The Tinn-R project (WebSite, SourceForge) is migrating from Delphi 2007 to new platforms: Delphi 10.2 Tokyo, Delphi 10.3 Rio and Lazarus 2.0.2 (Free Pascal).

Recently a update of the TConsoleIO class for Delphi XE2 was done. The original files (from Delphi 7 and to XE2) are in the TConsoleIO folder.

From both projects (Andrey and update to XE2) some basic adjustments have been made. This way, without the need to install any component inside the IDE, it is possible to compile and run the test application (test_platform) in the following versions of Delphi: Delphi 2007, Delphi 10.2 Tokyo and 10.3 Rio. There is also a first attempt for Free Pascal under the Lazarus IDE.

To the Free Pascal the test application is compiling but is not running nice yet. Thus, I hope that more advanced users in this area of programming (pipe/IPC) can make their contribution by correcting some problems encountered.

I think this will be of great use to many Delphi/FreePascal programmers.

consoleio's People

Contributors

jcfaria avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.