Author Topic: Interprocess communication  (Read 1999 times)

Greenhorn

  • Member
  • ***
  • Posts: 434
Re: Interprocess communication
« Reply #45 on: October 03, 2022, 11:22:28 PM »
Yes, now it works. But I have to run 14r.exe first so that it starts 14s.exe to get it working.  :eusa_dance:
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #46 on: October 03, 2022, 11:24:12 PM »
jj2007
Va bene!


Greenhorn
You can first run 14s.exe, and then 14r.exe, they only work in pairs.

Greenhorn

  • Member
  • ***
  • Posts: 434
Re: Interprocess communication
« Reply #47 on: October 03, 2022, 11:31:29 PM »
jj2007
Va bene!


Greenhorn
You can first run 14s.exe, and then 14r.exe, they only work in pairs.

If I do so I get an exception, no matter which "send" button I press.  :sad:
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #48 on: October 03, 2022, 11:35:22 PM »
Quote
If I do so I get an exception, no matter which "send" button I press.
The more such messages I receive, the faster I will correct errors.

Greenhorn

  • Member
  • ***
  • Posts: 434
Re: Interprocess communication
« Reply #49 on: October 03, 2022, 11:36:41 PM »
I have to fix the 'Just In Time Debugger' issue, then I can tell you more.

But at the moment I'm cooking pears, beans and bacon ... (yummy)
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #50 on: October 03, 2022, 11:43:16 PM »
Quote
But at the moment I'm cooking pears, beans and bacon ... (yummy)

I know



TimoVJL

  • Member
  • *****
  • Posts: 1223
Re: Interprocess communication
« Reply #51 on: October 03, 2022, 11:56:18 PM »
Yes, now it works. But I have to run 14r.exe first so that it starts 14s.exe to get it working.  :eusa_dance:
only this way apps works
May the source be with you

Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #52 on: October 03, 2022, 11:58:46 PM »
Thank you, Timo

Greenhorn

  • Member
  • ***
  • Posts: 434
Re: Interprocess communication
« Reply #53 on: October 04, 2022, 02:20:42 AM »
Yes, now it works. But I have to run 14r.exe first so that it starts 14s.exe to get it working.  :eusa_dance:
only this way apps works
Thank you, Timo

OK, got it. Thanks.


Quote
But at the moment I'm cooking pears, beans and bacon ... (yummy)

I know
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #54 on: November 05, 2022, 11:38:08 AM »
Hi All!
Does anyone have a working example of sending a text string for illustrating interprocess communication via OLE? Many thanks in advance!

jj2007

  • Member
  • *****
  • Posts: 13274
  • Assembly is fun ;-)
    • MasmBasic
Re: Interprocess communication
« Reply #55 on: November 05, 2022, 11:52:32 AM »
Do you mean OLE, RPC or DDE?

Code: [Select]
include \masm32\MasmBasic\MasmBasic.inc
  Init
  SendWordCommands ; prepare a DDE session; Word must be running
  .if eax
SendWordCommands '[FileNewDefault:InsertFile "\Masm32\include\Windows.inc"]'
SendWordCommands '[MsgBox "Cute"]'
  .else
MsgBox 0, "MS Word doesn't answer", "Sorry", MB_OK
  .endif
  SendWordCommands exit ; finish DDE session
EndOfCode
Masm32 Tips, Tricks and Traps

Some members can't live without insulting others. It tells us a lot about them.

Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #56 on: November 05, 2022, 06:16:15 PM »
Ciao jj!
Grazie mille per l'esempio!
I mean COM, not DDE


Mikl__

  • Member
  • *****
  • Posts: 1280
Re: Interprocess communication
« Reply #58 on: November 06, 2022, 02:03:48 AM »
Thank you Timo!