Results 1 to 2 of 2

Thread: Interprocess communication (WM_COPYDATA)

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Interprocess communication (WM_COPYDATA)

    Hi,

    I think Mike some time ago noted that he would like to see way two thinBASIC processes can communicate.
    Here is dummy way using WM_COPYDATA message and hidden label.

    Simply run two attached proggies and they will chat together

    Trick is that from WM_COPYDATA you can extract handle of dialog which broadcasted it.
    I know this sample is not the best one, and that WM_COPYDATA can have its own information "inside", but the way I did it it works too ;D


    Petr
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: Interprocess communication

    Petr, I think your photos is fake... you can't be so young and such a powerful wizard... please show us the old powerful wizard who comes up with this magic!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Similar Threads

  1. Interprocess communication (Memory Mapped File)
    By Petr Schreiber in forum Win API interface
    Replies: 1
    Last Post: 25-05-2008, 22:50

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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