I believe you should be able to steal some code from Rogers Win32::MMF, which implements variable sharing through Win32 Memory Mapped Files, and it is mostly transparent on the Perl side.
For writing to a shared hash, I believe that you will face some deadlock issues and that you will have to embed some of Perl into the new C program tohave the same hashing algorithm etc., at least if you want to create new keys.
In reply to Re: Win32::MemMap and C++
by Corion
in thread Win32::MemMap and C++
by Bagarre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |