Results 1 to 2 of 2

Thread: Help - Shared Memory

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    1

    Post

    Hello,
    I am in a project which deals with communication with different processes written in different languages. So we choose writting the common data in a shared memory.

    Can anyone let me know how to create shared memory and also how to read from it.

    I tried using CreateFileMapping and OpenFileMapping API to do this. But the problem is there was no compatibility, since the communication is between different languages(VC++ 6.0 and VB 6.0). Sometimes it crashes or it gives value which is not the value that was written earlier.

    Can anyone please help me in this with sample code. Thanks in advance.

    Prince

  2. #2
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350

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