Results 1 to 2 of 2

Thread: Interprocess communication (Memory Mapped File)

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

    Interprocess communication (Memory Mapped File)

    Hi,

    here is the promised memory mapped file technique to communicate between processes.
    This time "just" console example.

    How to use:
    • Run Program1
    • Run Program2
    • Switch to Program1 and press any key


    The programs will just say hello to each other. There is one virtual file opened for communicaiton Program1 -> Program2 ( "File1Virtual") and one for communicaiton Program2 -> Program1 ( "File2Virtual").


    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
    68
    Posts
    3,865
    Rep Power
    405

    Re: Interprocess communication (Memory Mapped File)

    Thanks Petr, very cool example!
    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 (WM_COPYDATA)
    By Petr Schreiber in forum Win API interface
    Replies: 1
    Last Post: 14-04-2008, 08:31

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
  •