Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

How to trigger an event using Delphi

If you have a question or need help, this is the place to be.
Post Reply
Pendragon192
Posts: 1
Joined: Thu Jun 13, 2013 4:38 pm

How to trigger an event using Delphi

Post by Pendragon192 »

Hello everyone,

I want to create a control program for my home cinema using an old touch screen computer. Therefore, I bought the IR toy from dangerous prototypes (http://dangerousprototypes.com/docs/USB_Infrared_Toy) and installed WinLirc to send and receive the signals. Then I used EventGhost with the Lirc plugin to control the IRtoy. That works so far.
Now I want to write a Delphi program, because I also want to control a USB interface board. With this two components I want to realize feature like pressing the stop button in my delphi program and then the BD player gets the stop signal over Eventghost and the IRtoy and the room lights are activated via the USB board.

The problem is, I don't know how to trigger events in EventGhost with my delphi program. It would be nice, if anyone has an idea how to get this combination working.

Thank you.

Greetings,
Pendragon
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: How to trigger an event using Delphi

Post by krambriw »

What about using socket communication (TCP/UDP)? For sure this is supported by Delphi? In EventGhost you alredy have plugins included that can receive TCP and UPD messages and then your event is there for you.

But why Delphi? Python also supports communication with USB devices
Post Reply