Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: OS_Shell - question/issue

  1. #11
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    A way is to use CreateFileMapping API to create/open a memory mapped file
    https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

    Here a PowerBasic example on how to create/share a piece of memory between process with memory mapped files:
    https://www.powerbasic.com/support/p...ad.php?t=16140

    Maybe we can get inspiration for a future thinBasic module dediated to this aspect.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #12
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    so there's only "the unsafe way" of using the clipboard... or networking
    I think there are missing some Forum-sections as beta-testing and support

  3. #13
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    The contrary: there are many ways everyone can develop.

    If I will develop something native into thinBasic I will need to find a as much as possible general way able to cover many different situations.
    Actually my preferred possible way is memory mapped files.

    More info on MMF
    https://msdn.microsoft.com/en-US/lib...v=vs.100).aspx
    Last edited by ErosOlmi; 16-09-2015 at 22:48.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Page 2 of 2 FirstFirst 12

Similar Threads

  1. OS_Shell("explorer.exe", sPath)?
    By ReneMiner in forum OS
    Replies: 2
    Last Post: 24-02-2015, 08:58
  2. Replies: 2
    Last Post: 20-11-2014, 15:40
  3. Retroaction Issue Two
    By matthew in forum Shout Box Area
    Replies: 3
    Last Post: 12-05-2009, 17:13
  4. PCOPY! Issue #70 now available.
    By MystikShadows in forum PCOPY!
    Replies: 5
    Last Post: 20-06-2008, 20:50

Members who have read this thread: 1

Posting Permissions

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