Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error #75 at Open {file} For Input As #1 (need 2 progs on same PC to communicate)
#5
(05-23-2024, 04:44 AM)madscijr Wrote: Thanks for your reply - those examples are nice and short, I look forward to giving them a try. 
By "pipe" do you mean one prog calling another with command line args, or something else, like a program sending args to a different application already running? 
Thanks again!
"pipe" refers to either a Unix pipe or a Windows Anonymous Pipe. They have different APIs but functionally achieve the same thing, you call a function that gives you back two handles that make up a "pipe", where one is the "read handle" and the other the "write handle". You can read/write to these handles like regular files, and any data written to the "write handle" will show up as data to read from the "read handle".

Through various methods you can pass the "write handle" to your client program and keep the "read handle" in your host program, this allows the client program to write data to the "write handle" that the host can receive via reading from the "read handle". It effectively achieves exactly what my example did but removes the need to introduce any networking (which simplifies the process and removes some potential failure points).
Reply


Messages In This Thread
RE: Error #75 at Open {file} For Input As #1 (need 2 progs on same PC to communicate) - by DSMan195276 - 05-23-2024, 05:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac debugger not connecting, a user error! BlameTroi 0 110 02-07-2026, 06:18 PM
Last Post: BlameTroi
  ERROR MESSAGES COLORS ? aurel 5 399 01-02-2026, 11:26 AM
Last Post: aurel
Question Converting input from other devices to standard PC gamepad analog input? madscijr 0 178 01-01-2026, 06:39 PM
Last Post: madscijr
  Using CONST & _RGB used together seem to error... Dav 12 716 12-12-2025, 12:29 AM
Last Post: Dav
  error doing image collision detection with _MemGet madscijr 55 4,795 10-01-2025, 03:25 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)