All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Win32 and Interix Applications sharing memory
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
Win32 and Interix Applications sharing memory - Nov. 11, '03, 9:37:08 AM
|
|
|
keith
Posts: 25
Joined: Jun. 18, '03,
Status: offline
|
Back in March a question was posted about sharing memory between Win32 and Interix applications.
The feeling was that it could be done.
Does anyone have details of how to do it?
Best Regards
Keith
|
|
|
RE: Win32 and Interix Applications sharing memory - Nov. 11, '03, 2:06:43 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
You can do it with memory mapped files.
What the Windows code looks like I' m not sure, but there is likely something up on the MSDN web site.
For Interix the usual Unix memory mapping API' s are used: mmap() and munmap(). Refer to the man pages for details on these API' s.
|
|
|
RE: Win32 and Interix Applications sharing memory - Nov. 20, '03, 11:50:34 AM
|
|
|
keith
Posts: 25
Joined: Jun. 18, '03,
Status: offline
|
Rodney,
Thanks for the information.
What about a Win32 program being able to access ipcs shared memory in the Interix sub-system obtained using shmget() and shmat(), is this possible?
Best Regards
Keith
|
|
|
RE: Win32 and Interix Applications sharing memory - Nov. 20, '03, 11:59:02 AM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Not that I' m aware of.
It can always be an enhancement request :-)
Rodney
|
|
|
RE: Win32 and Interix Applications sharing memory - Nov. 20, '03, 12:29:51 PM
|
|
|
keith
Posts: 25
Joined: Jun. 18, '03,
Status: offline
|
Rodney,
Thanks for the information.
How do I go about submitting it as an enhancement request?
Best Regards
Keith
|
|
|
RE: Win32 and Interix Applications sharing memory - Nov. 20, '03, 12:46:34 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Well, if you are BetaPlace member (for example, reviewing 3.5Beta) then the bug reporting system has a bug type " enhancement" .
I know that someone from the SFU dev group occationally reads through the forum. So they might pick it up that way.
I' ll see if I can forward it to the right person at MS.
Rodney
|
|
|
RE: Win32 and Interix Applications sharing memory - Nov. 20, '03, 1:57:23 PM
|
|
|
markfunk
Posts: 670
Joined: Mar. 31, '03,
Status: offline
|
a starting point for Interix/Windows memory management info is described at:
http://msdn.microsoft.com/library/en-us/dnucmg/html/ucmglp.asp
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|