Click here to Skip to main content
15,905,874 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 5:39
David Crow15-Oct-04 5:39 
GeneralRe: Please help - individual chars in a CString Pin
...---...15-Oct-04 6:23
...---...15-Oct-04 6:23 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 6:37
David Crow15-Oct-04 6:37 
GeneralRe: Please help - individual chars in a CString Pin
...---...15-Oct-04 9:30
...---...15-Oct-04 9:30 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 9:37
David Crow15-Oct-04 9:37 
GeneralRe: Please help - individual chars in a CString Pin
BlackDice15-Oct-04 8:46
BlackDice15-Oct-04 8:46 
GeneralReceiving Messsage from ActiveX Control Pin
Manoj Singh K.15-Oct-04 4:30
Manoj Singh K.15-Oct-04 4:30 
GeneralCOM: Get Interface from one process to another Pin
peterchen15-Oct-04 3:43
peterchen15-Oct-04 3:43 
I have two processes (both written by me, i.e. I can modify them at will). When bot are already running, one (the server) needs to create a COM object, and pass an interface to the other (Client).

My only problem: how do I get one interface (IUnknown) marshaled to the other process?
(*using* a COM object in another process I already tried a few times, but they were always instantiated using CreateInstance)

I *think* I have to register the object in the Running Object Table (ROT), and notify the client that it's now there. However, I never really understood this Moniker business (beyond being, well, a Moniker), and I can't find a default implementation that seems usable out of the box.

is the ROT the right way? What Moniker?


additional info: The client will control the server, but I have some external requirements not solvable through COM, which force me to create the process manually. Also, there should be multiple Client/Server pairs (or even One client with multiple servers) possible, I guess differen monikers could solve that...


we are here to help each other get through this thing, whatever it is Vonnegut jr.

sighist Fold With Us! || Agile Programming | doxygen

GeneralRe: COM: Get Interface from one process to another Pin
mtzlplyk15-Oct-04 5:34
mtzlplyk15-Oct-04 5:34 
GeneralRe: COM: Get Interface from one process to another Pin
peterchen15-Oct-04 6:02
peterchen15-Oct-04 6:02 
QuestionWhere is wrong when I try to get the recordset? Pin
chocm15-Oct-04 3:42
chocm15-Oct-04 3:42 
AnswerRe: Where is wrong when I try to get the recordset? Pin
David Crow15-Oct-04 4:39
David Crow15-Oct-04 4:39 
AnswerRe: Where is wrong when I try to get the recordset? Pin
Andrzej Markowski15-Oct-04 18:33
Andrzej Markowski15-Oct-04 18:33 
GeneralProblem Parsing Pictures from Rich-Text (RTF) File Pin
Popeye Doyle Murray15-Oct-04 2:48
Popeye Doyle Murray15-Oct-04 2:48 
GeneralRe: Problem Parsing Pictures from Rich-Text (RTF) File Pin
Henry miller15-Oct-04 7:01
Henry miller15-Oct-04 7:01 
GeneralRe: Problem Parsing Pictures from Rich-Text (RTF) File Pin
Joel Lucsy15-Oct-04 12:01
Joel Lucsy15-Oct-04 12:01 
GeneralParse Filenames for extracting Tags Pin
Summi15-Oct-04 2:42
Summi15-Oct-04 2:42 
GeneralRe: Parse Filenames for extracting Tags Pin
David Crow15-Oct-04 4:42
David Crow15-Oct-04 4:42 
GeneralRe: Parse Filenames for extracting Tags Pin
Maximilien15-Oct-04 5:01
Maximilien15-Oct-04 5:01 
GeneralRe: Parse Filenames for extracting Tags Pin
David Crow15-Oct-04 5:46
David Crow15-Oct-04 5:46 
GeneralRe: Parse Filenames for extracting Tags Pin
Maximilien15-Oct-04 6:47
Maximilien15-Oct-04 6:47 
GeneralRe: Parse Filenames for extracting Tags Pin
Summi19-Oct-04 2:36
Summi19-Oct-04 2:36 
GeneralMultiple Dialogs Pin
sweep12315-Oct-04 2:10
sweep12315-Oct-04 2:10 
GeneralRe: Multiple Dialogs Pin
Maximilien15-Oct-04 2:44
Maximilien15-Oct-04 2:44 
GeneralToggel button with menu open Pin
verma-rahul15-Oct-04 2:05
verma-rahul15-Oct-04 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.