|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
shared memory IPCI would like to achive IPC through two procesess by using the shared memory aproach. I did some research but could not find an apropriate example that would describe that. There are few that are trying to talk about the efficiency but nothing that shows how to: Process A would write to shared memory Process B would detect that something is written and pick it up. and vice versa from B -> A Any help would be apreciated. esentially the goal is: i have two applications. what i would like to do is from application A to put something in shared memory ( like something that was done in that application mouse mooved and coordinates) and then i have a dll that picks that event up. Then application B through the shared dll could pick up the information from share memory. If there is any help in VC++ i would be really grateful. Sincerely Why not use remoting with shared memory channels?
Show quoteHide quote "Dan" <D**@discussions.microsoft.com> wrote in message news:BBED6019-E454-4025-B0A2-2E004AE911A5@microsoft.com... > Dear all > > I would like to achive IPC through two procesess by using the shared > memory > aproach. I did some research but could not find an apropriate example that > would describe that. There are few that are trying to talk about the > efficiency but nothing that shows how to: > > Process A would write to shared memory > > Process B would detect that something is written and pick it up. > > and vice versa from B -> A > > > > Any help would be apreciated. > > esentially the goal is: i have two applications. what i would like to do > is > from application A to put something in shared memory ( like something that > was done in that application mouse mooved and coordinates) and then i have > a > dll that picks that event up. Then application B through the shared dll > could > pick up the information from share memory. > > If there is any help in VC++ i would be really grateful. > > > Sincerely > i was told that the application B can only hadle on ANSI C even though its
running on windows. So i thought that might a peorblem if i use anything else.... Then again this is my first project in VC++. So i am learning as i go. ...... Show quoteHide quote "Lloyd Dupont" wrote: > Why not use remoting with shared memory channels? > > "Dan" <D**@discussions.microsoft.com> wrote in message > news:BBED6019-E454-4025-B0A2-2E004AE911A5@microsoft.com... > > Dear all > > > > I would like to achive IPC through two procesess by using the shared > > memory > > aproach. I did some research but could not find an apropriate example that > > would describe that. There are few that are trying to talk about the > > efficiency but nothing that shows how to: > > > > Process A would write to shared memory > > > > Process B would detect that something is written and pick it up. > > > > and vice versa from B -> A > > > > > > > > Any help would be apreciated. > > > > esentially the goal is: i have two applications. what i would like to do > > is > > from application A to put something in shared memory ( like something that > > was done in that application mouse mooved and coordinates) and then i have > > a > > dll that picks that event up. Then application B through the shared dll > > could > > pick up the information from share memory. > > > > If there is any help in VC++ i would be really grateful. > > > > > > Sincerely > > > > > ANSI C? mhh... Shared memory functions are platform specific I believe...
In such case I will suggest pipe, TCP/IP socket and perhaps wrap all of that with XML-RPC (http://www.xmlrpc.com/) Show quoteHide quote "Dan" <D**@discussions.microsoft.com> wrote in message news:4748AA62-9D40-4669-A560-35607A7C6222@microsoft.com... >i was told that the application B can only hadle on ANSI C even though its > running on windows. So i thought that might a peorblem if i use anything > else.... Then again this is my first project in VC++. So i am learning as > i > go. > > ..... > > "Lloyd Dupont" wrote: > >> Why not use remoting with shared memory channels? >> >> "Dan" <D**@discussions.microsoft.com> wrote in message >> news:BBED6019-E454-4025-B0A2-2E004AE911A5@microsoft.com... >> > Dear all >> > >> > I would like to achive IPC through two procesess by using the shared >> > memory >> > aproach. I did some research but could not find an apropriate example >> > that >> > would describe that. There are few that are trying to talk about the >> > efficiency but nothing that shows how to: >> > >> > Process A would write to shared memory >> > >> > Process B would detect that something is written and pick it up. >> > >> > and vice versa from B -> A >> > >> > >> > >> > Any help would be apreciated. >> > >> > esentially the goal is: i have two applications. what i would like to >> > do >> > is >> > from application A to put something in shared memory ( like something >> > that >> > was done in that application mouse mooved and coordinates) and then i >> > have >> > a >> > dll that picks that event up. Then application B through the shared dll >> > could >> > pick up the information from share memory. >> > >> > If there is any help in VC++ i would be really grateful. >> > >> > >> > Sincerely >> > >> >> >>
Whats the best group for .net 3.0 and xaml questions
Setting Wait cursor without a reference to main form. How to avoid redundant case statements in a stored procedure ActiveX & IE interaction External file configuration .net 2.0 SP1 or .net 2.1 Auto Logoff Using Insertion Strings and Message Files when writing to event lo How to get the ContentPlaceHolders IList of a MasterPage Asp.Net Equilivant of Me.Name |
|||||||||||||||||||||||