From: Seebs Date: 2010-02-10T16:45:08+09:00 Subject: Re: Shared memory creation in ruby 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 -- Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!