Results 1 to 12 of 12

Thread: VB6 - MMapper, Memory Mapped File Demo

Threaded View

  1. #11
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,910

    Re: VB6 - MMapper, Memory Mapped File Demo

    Quote Originally Posted by AngelV View Post
    I was wondering if the file mapping can somehow make possible sharing objects memories between processes.
    Yes it can. Just use the same string-name for the lpName in your call to OpenFileMapping.

    However, this stuff is really just for getting access to Far Memory (beyond our 2GB). There are easier ways to get strings between processes than this (in memory), especially if they're far less than 2GB.

    You can think of this Far Memory I/O much like a regular file. However, it's gone when nobody is accessing it anymore.
    Last edited by Elroy; Jun 30th, 2022 at 11:37 AM.
    Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.

Tags for this Thread

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