Re: Winelib and static-build

2008-10-28 Thread Boaz Harrosh
Dan Kegel wrote: > On Sat, Oct 25, 2008 at 8:10 AM, Alan Nisota <[EMAIL PROTECTED]> wrote: > >> Very cool. Here is what I did: >> In linux (host): >> use shm_open and ftruncate to create a shared-memory region (this will be at >> /dev/shm/ in linux) >> use mmap to map that into memory >> create

Re: Winelib and static-build

2008-10-26 Thread Alan Nisota
Boaz Harrosh wrote: > Dan Kegel wrote: > >> On Sat, Oct 25, 2008 at 8:10 AM, Alan Nisota wrote: >> >>> I can now pass info back and forth between wine and linux via shared memory, >>> >> Sweet! I had forgotten about /dev/shm. >> > > If your going the win32 executable way. then

Re: Winelib and static-build

2008-10-25 Thread Dan Kegel
On Sat, Oct 25, 2008 at 8:10 AM, Alan Nisota <[EMAIL PROTECTED]> wrote: > Very cool. Here is what I did: > In linux (host): > use shm_open and ftruncate to create a shared-memory region (this will be at > /dev/shm/ in linux) > use mmap to map that into memory > create a socket to use as a semaphor

Re: Winelib and static-build

2008-10-25 Thread Alan Nisota
Dan Kegel wrote: For starters, have you tried CreateFileMapping in wine, and mmap on the same file in the native bit? Sadly, linux does not use tmpfs by default, so the backing store writes would probably hurt performance. But it would be interesting to hear whether this worked at all. Very

Re: Winelib and static-build

2008-10-24 Thread Dan Kegel
On Fri, Oct 24, 2008 at 9:13 AM, Alan Nisota <[EMAIL PROTECTED]> wrote: > So I'd be happy to have a win32 app that can talk to linux via shared memory > (I also need semaphores, but that could likely be handled via socket > communication) but I don't think this is possible There ought to be a way.

Re: Winelib and static-build

2008-10-24 Thread Alan Nisota
Dan Kegel wrote: > Alan Nisota wrote: > >>> I have a project (http://code.google.com/p/coreavc-for-linux) which is a >>> linux executable which provides access to Windows DirectShow filters >>> >>> The problem is that I normally provide a static binary so that users on >>> x86-64 can install it

Re: Winelib and static-build

2008-10-24 Thread Dan Kegel
Alan Nisota wrote: >> I have a project (http://code.google.com/p/coreavc-for-linux) which is a >> linux executable which provides access to Windows DirectShow filters >> >> The problem is that I normally provide a static binary so that users on >> x86-64 can install it easily without needing a 32bi

Re: Winelib and static-build

2008-10-24 Thread Alan Nisota
Dan Kegel wrote: > Alan Nisota wrote: >> I have a project (http://code.google.com/p/coreavc-for-linux) which is a >> linux executable which provides access to Windows DirectShow filters >> >> The problem is that I normally provide a static binary so that users on >> x86-64 can install it easily wit

re: Winelib and static-build

2008-10-23 Thread Dan Kegel
Alan Nisota wrote: > I have a project (http://code.google.com/p/coreavc-for-linux) which is a > linux executable which provides access to Windows DirectShow filters > > The problem is that I normally provide a static binary so that users on > x86-64 can install it easily without needing a 32bit bui