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)
#3
(05-23-2024, 04:26 AM)DSMan195276 Wrote: I would agree that the file input like that is likely to cause problems, files really aren't made for that kind of task. Your best QB64 option would be a TCP/IP connection between the two programs, which overall is fairly easy to implement. If you have the main program start the mouse program then you can even pass the connection details as an argument to avoid hard-coding them between the programs.

...

Using a "pipe" is another option, but those aren't exposed in QB64 so it would be a bit more complex.
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!
Reply


Messages In This Thread
RE: Error #75 at Open {file} For Input As #1 (need 2 progs on same PC to communicate) - by madscijr - 05-23-2024, 04:44 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 175 01-01-2026, 06:39 PM
Last Post: madscijr
  Using CONST & _RGB used together seem to error... Dav 12 714 12-12-2025, 12:29 AM
Last Post: Dav
  error doing image collision detection with _MemGet madscijr 55 4,765 10-01-2025, 03:25 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)