10

I will have to implement a WM_COPYDATA IPC between 2 applications. I have seem samples on internet, but all of them only send strings that are less than 255 characters.

I want to send a big string (more than 1k) to another process using WM_COPYDATA. Is it possible? What are the limitations? Should I send a stream instead of a string or record?

Both applications were developed by me using Delphi 2010.

Rafael Colucci
  • 6,018
  • 4
  • 52
  • 121
  • 3
    I don't know. I gave you +1 to balance it. There are sometimes random down voters on SO, especially here in [tag:delphi]. The same thing happened to [a question of mine](http://stackoverflow.com/questions/9572887/3d-library-recommendations-for-interactive-spatial-data-visualisation) a couple of days ago. – David Mar 07 '12 at 14:00

1 Answers1

8

There are no limitations. You can send data as large as you like, subject to available memory constraints, using WM_COPYDATA.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490