Author Topic: Interprocess communication  (Read 4692 times)

Mikl__

  • Member
  • *****
  • Posts: 1345
Re: Interprocess communication
« Reply #15 on: August 19, 2022, 12:41:40 AM »
Hi learn64bit!
These files are for you.
« Last Edit: August 21, 2022, 01:35:28 PM by Mikl__ »

Greenhorn

  • Member
  • ***
  • Posts: 488
Re: Interprocess communication
« Reply #16 on: August 19, 2022, 04:35:25 AM »
Hi Mikl,

To repeat these tutorials in masm32.com, I'm missing two things:
  • poor knowledge of English
  • inability to build tables in msm32.com
Your english is very well (or at least your translator is doing a good job).

Regarding tables, you can create tables with BB Code.

КонстантаhexОписание формата данных
CF_TEXT1Текстовые данные в виде массив символов. Каждая строка завершается комбинацией символов "\r\n", весь массив закрыт нулем
CF_BITMAP2Битовое изображение в формате, который зависит от устройства отображения (Device Dependent Bitmap)

The Simple Machines Forum Software isn't capable to apply cell borders.
Quote
Although the tags are based on the html <table>, <tr> and <td> tags there is no further formatting possible.
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

learn64bit

  • Member
  • **
  • Posts: 188
Re: Interprocess communication
« Reply #17 on: August 19, 2022, 06:23:49 AM »
Thanks.

Now I'm reading the "12r", and my "win64.inc" also out dated...
Can you upload that one?

Mikl__

  • Member
  • *****
  • Posts: 1345
Re: Interprocess communication
« Reply #18 on: August 19, 2022, 09:04:15 AM »
[Here was an unsuccessful attempt to build a table in BB-code. Deleted]

Hi Greenhorn!
Without highlighting cell borders and without the ability to merge cells vertically and horizontally, these tables are looking the worst
« Last Edit: August 19, 2022, 11:07:08 AM by Mikl__ »

Greenhorn

  • Member
  • ***
  • Posts: 488
Re: Interprocess communication
« Reply #19 on: August 19, 2022, 11:24:04 AM »
[Here was an unsuccessful attempt to build a table in BB-code. Deleted]

Hi Greenhorn!
Without highlighting cell borders and without the ability to merge cells vertically and horizontally, these tables are looking the worst
Yes, I agree. Mostly I also prefer bordered cells.
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Mikl__

  • Member
  • *****
  • Posts: 1345
Re: Interprocess communication
« Reply #20 on: August 19, 2022, 12:14:48 PM »

Greenhorn,
I can't translate your motto
Quote
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.
Is it correctly?
Quote
Kole flute on north wind brings a crisp pack and a small pint.
can't understand the meaning This is a quote? Or this is a meaningless set of words?

Greenhorn

  • Member
  • ***
  • Posts: 488
Re: Interprocess communication
« Reply #21 on: August 19, 2022, 03:13:26 PM »

Greenhorn,
I can't translate your motto
Quote
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.
Is it correctly?
Quote
Kole flute on north wind brings a crisp pack and a small pint.
can't understand the meaning This is a quote? Or this is a meaningless set of words?

This is "Plattdüütsch" and is an old saying.
It means: "Cold feet and northern wind gives a frizzly bag and a little willy."
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

learn64bit

  • Member
  • **
  • Posts: 188
Re: Interprocess communication
« Reply #22 on: August 19, 2022, 04:09:35 PM »
I guess a "WAVEHDR struct" should be in your "win64.inc", that's not exist in my outdated "win64.inc".

Mikl__

  • Member
  • *****
  • Posts: 1345
Re: Interprocess communication
« Reply #23 on: August 19, 2022, 07:31:56 PM »
Hi learn64bit!
That file is for you.


Salut Greenhorn!
wollt ëmmer Lëtzebuerg gesinn...
« Last Edit: August 21, 2022, 01:34:45 PM by Mikl__ »

learn64bit

  • Member
  • **
  • Posts: 188
Re: Interprocess communication
« Reply #24 on: August 20, 2022, 07:28:32 PM »
Thank you, sir.

And now I'm reading "01 WM_COPYDATA\01s", I think I need another file for "COPYDATASTRUCT struct".

TimoVJL

  • Member
  • *****
  • Posts: 1317
Re: Interprocess communication
« Reply #25 on: August 20, 2022, 08:15:26 PM »
struct info:

Code: [Select]
32-bit
COPYDATASTRUCT   12 0Ch bytes
dwData           +0h 4h
cbData           +4h 4h
lpData           +8h 4h

64-bit
COPYDATASTRUCT   24 18h bytes
dwData           +0h 8h
cbData           +8h 4h
lpData           +10h 8h
May the source be with you

learn64bit

  • Member
  • **
  • Posts: 188
Re: Interprocess communication
« Reply #26 on: August 20, 2022, 09:46:22 PM »
TimoVJL,

Thank you!

Mikl__

  • Member
  • *****
  • Posts: 1345
Re: Interprocess communication
« Reply #27 on: August 20, 2022, 11:03:06 PM »
Hi, Timo!
The struct is wrong, it's right like this
Code: [Select]
COPYDATASTRUCT struct
  dwData dq ?
  cbData dd ?,? ;<---
  lpData dq ?
COPYDATASTRUCT ends
« Last Edit: August 23, 2022, 08:53:13 AM by Mikl__ »

TimoVJL

  • Member
  • *****
  • Posts: 1317
Re: Interprocess communication
« Reply #28 on: August 21, 2022, 01:58:19 AM »
Hi, Timo!
The struct is wrong, it's right like this
Code: [Select]
COPYDATASTRUCT struct
  dwData dq ?
  cbData dd ?,? ;<---
  lpData dq ?
COPYDATASTRUCT ends
How struct info can be wrong ??? It just show offsets and sizes.
your version use filler, but STRUCT 8 also works ?
May the source be with you

six_L

  • Member
  • ***
  • Posts: 314
Re: Interprocess communication
« Reply #29 on: August 21, 2022, 12:34:32 PM »
Hi,Mikl__
 :thumbsup: :thumbsup: :thumbsup:
the wonderful tutorial for IPC
thanks you sharing.
Say you, Say me, Say the codes together for ever.