int __export __stdcall SetSharedMem(const int shareIndex, const void* lpszBuf, const DWORD bufLength) int __export __stdcall GetSharedMem(const int shareIndex,void* lpszBuf, const DWORD bufLength) #### $SetSharedMem = Win32::API->new('shmdll', 'int SetSharedMem(int shareIndex, VOID* lpszBuf, DWORD bufLength)'); $GetSharedMem = Win32::API->new('shmdll', 'int GetSharedMem(int shareIndex,VOID* lpszBuf, DWORD bufLength)'); #### $returnBuff = " " x ($str_length);
$return = $GetSharedMem->Call(0,$returnBuff,$str_length);

##
## SV = PV(0x1abed40) at 0x1dea898
REFCNT = 1
FLAGS = (POK,pPOK)
PV = 0x1dda434 "\4\4\0041234\4\4\4\10\3\2\0\0\0\n\r20\0asdfasdfaf\3\0\0\0Red\4 \2\1\0\0\0\n\01710|\0|Asdfasdfaf\4\0\0\0Blue"\0
CUR = 69
LEN = 70

##
## SV = PV(0x1abed64) at 0x1dea94c
REFCNT = 1
FLAGS = (POK,pPOK)
PV = 0x1dda218 "\4\4\0041234\4\4\4\10\3\2"\0
CUR = 13
LEN = 71