Is there a REAL sample for surrogates which is runable so I can play a little with this feature. The few samples I've found are all incomplete.
Thanks Mike
Printable View
Is there a REAL sample for surrogates which is runable so I can play a little with this feature. The few samples I've found are all incomplete.
Thanks Mike
I've used a sample from Inside DCOM which I think gives you exactly the same as the default dllhost.exe surrogate, but within your own address space. Have you tried this sample ?
We placed a channel hook (which won't be supported in COM+) and played a bit with message filtering inside the sample.
Is there a possibility the get this sample, because we haven't got this book. Does this book also provide some other samples of advanced COM features?
Mike
Sorry about the delay in getting back, I needed to get the book in from work.
I've zipped up the sample and it is only 12K. However, I don't know how we're supposed to get samples across etc.
As for the book itself, it is well worth the money. When I first delved into all this, the only real help was MSJ. Since then, this book has come out and it covers all the usual stuff + a very good explanation of threading models, monikers, DCOM and what happens inside the actual TCP/IP packets that are sent.
If you can advise me how to get this sample across, I'll do it the next time I check the board.
Sorry about my delay, but I was in Holiday. The best way to send me the sample is to use the mailadress, which you see if you doubleclick my name.
Thanks a lot
Mike
If you get that sample code, Can you kindly send an aonther copy to me. My e-mail just like yours.
(double click my name). Thank you in advance.
Thanks a lot!!!
Mike
Hi
when you get the code, could you please send me a copy as well?
TIA
Julius Ivanyi e-mail [email protected]
I'm examing the whole surrogate stuff and have now a few good samples to play with( one from the Inside DCOM Book ). Now I have the problem that everything is working quite well localy on one machine, but when I try to go remote, I run into all kinds of problems.
My client is running under Win 95 and the server under NT 4.0. After a few tries with the launch, access... permissions I was successful to start the server, but the QueryInterface always fails with ACCESS_DENIED.
Any Ideas or hints
Mike
PS I bought the Inside DCOM Book -> really good!!!!