Re: Sharing a COM object in a MMF
From: Ben Ashley (no_at_bloody.way)
Date: 02/29/04
- Next message: Tim Robinson: "Re: Sharing a COM object in a MMF"
- Previous message: Gary Chanson: "Re: Redirected stdin/out and security"
- In reply to: Steven: "Re: Sharing a COM object in a MMF"
- Next in thread: Tim Robinson: "Re: Sharing a COM object in a MMF"
- Reply: Tim Robinson: "Re: Sharing a COM object in a MMF"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Feb 2004 09:42:12 -0000
Ok well if I was going down this road, I'd make the EXE and out of process
server (create it with the ATL Wizard (EXE)), and have that create and
initialise the D3D Device. I'd then create another COM object which is
creatable by other processes. One of the properties of this would be a
property that returned the D3D Device interface. Other processes can then
create an instance of this object, and obtain the interface.
I'm not sure how well it would work, but if it has cross-process issues you
could make the object above more complex and simply forward calls to the D3D
Device.
Watch out for multi-threading issues!
"Steven" <anonymous@discussions.microsoft.com> wrote in message
news:0E90E257-9BF2-4127-BF85-11803AA79CC0@microsoft.com...
> Ok.
>
> I am trying to inject a D3D device into a existing process and then give
other processes access to this Device through the shared dll (that injects
the Device).
>
> I am sure that their are other complications and issues to deal with (when
injecting a Device), however, this is needed for demonstration purposes, and
I am only interested in achieving the above technical aspect at this point.
>
> I hope this explains what I am trying to do.
>
> Thanks,
>
> Steven
- Next message: Tim Robinson: "Re: Sharing a COM object in a MMF"
- Previous message: Gary Chanson: "Re: Redirected stdin/out and security"
- In reply to: Steven: "Re: Sharing a COM object in a MMF"
- Next in thread: Tim Robinson: "Re: Sharing a COM object in a MMF"
- Reply: Tim Robinson: "Re: Sharing a COM object in a MMF"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|