From: di vi Date: 2010-02-10T17:10:24+09:00 Subject: Re: Shared memory creation in ruby Seebs wrote: > On 2010-02-10, ranjan sri wrote: >> void main(int argc, char* argv[]) > > Ahem. "int main". (Unless you're in a freestanding environment, > which most people aren't.) > >> mappedFile = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, >> PAGE_READWRITE, 0, 4096, "TestSharedMemory"); > > It might help readers if you mentioned what platform you were > targeting. I've never seen that call, so I can hardly speculate as > to what would replace it, and it seems likely that the corresponding > things might be platform specific. > > -s Well I am on windows Xp.I have been trying to get this working. http://rubyforge.org/docman/view.php/85/1717/README.html MMAP on windows.But wasn't successful.Any idea?I did install ruby http://rubyforge.org/frs/download.php/66872/rubyinstaller-1.9.1-p243-rc1.exe But do not know the rest of the procedure to get MMAP working.Having been trying randomly. Please advice -- Posted via http://www.ruby-forum.com/.