Results 1 to 4 of 4

Thread: What is the best way to transfer (ascii & binary) data between two processes?

  1. #1
    supervisor
    Guest
    I need to transfer string data - both ascii and binary - between to processes. i'm thinking about using the windows message system (PostMessage ....), but unsure whether this could handle binary data and what the maximum string length is.

    are there any other possibilities like using something activex related?

    Thanks for your advice!
    Felix

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Pipes are probably your best method. Never used them though, so you'd have to look up some examples on them. The raw documentation is on MSDN:

    Platform SDK->Base Services->Interprocess Communication->Pipes
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    supervisor
    Guest
    Thanks for the hint! Was very useful...

    Felix

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Or you could use winsock and connect to your own system, or you could use files on the hdd, or you could use DDE ...
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width