windows - Shared memory between mingw and visual studio application -


is possible share memory region between application compiled mingw , 1 visual studio ?

i relying on boost interprocess:

  shared_memory_object shm (create_only, "mysharedmemory", read_write);   shm.truncate(1000);   mapped_region region(shm, read_write);   int *pi = (int *)region.get_address(); 

i realized not possible via cygwin, boost shared_memory_object created via cygwin posix layer.

a simple test program confirms possible. 1 caveat use exact same boost versions. between boost 1.53 , 1.54 unique id creation underlying memory mapped file has apparently changed. did not check memory alignment issues.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -