Re: Marshalling tutorial

2004-07-25 Thread Mike Hearn
On Sun, 2004-07-25 at 11:27 +0200, Ove Kaaven wrote: > The answer is of course that COM doesn't assume that objects actually > are thread-safe. Most real-world objects aren't, in fact, for various > reasons. What these reasons are isn't too important here, though, it's > just important to realize t

Re: Marshalling tutorial

2004-07-25 Thread Mike Hearn
On Sun, 2004-07-25 at 11:27 +0200, Ove Kaaven wrote: > The answer is of course that COM doesn't assume that objects actually > are thread-safe. Most real-world objects aren't, in fact, for various > reasons. What these reasons are isn't too important here, though, it's > just important to realize t

Re: Marshalling tutorial

2004-07-25 Thread Ove Kaaven
ons, 14.07.2004 kl. 18.07 skrev Mike Hearn: > You might be wondering about putting threads next to processes and > machines in that last paragraph. You can access thread safe objects from > multiple threads without DCOM normally, right? Why would you need RPC > magic to do that? The answer is of c

Re: Marshalling tutorial

2004-07-16 Thread Marcus Meissner
On Fri, Jul 16, 2004 at 01:39:49PM +0100, Mike Hearn wrote: > Thanks for the review Marcus. > > One question - when you do a CoRegisterClassObject does Microsoft COM > start a StubReaderThread like ours does, or does it do something > different? I've seen some installers that don't shut down becau

Re: Marshalling tutorial

2004-07-16 Thread Mike Hearn
Thanks for the review Marcus. One question - when you do a CoRegisterClassObject does Microsoft COM start a StubReaderThread like ours does, or does it do something different? I've seen some installers that don't shut down because the backends main thread is sitting in a message loop it went into

Re: Marshalling tutorial

2004-07-15 Thread Marcus Meissner
> In the case of InstallShield, it actually comes with typelibs for all > the interfaces it needs to marshal (fixme: is this right?), but they > actually use a mix of MIDL and typelib marshalling. In order to cover up > for the fact that we don't really use RPC they're all force to go via > the typ

Re: Marshalling tutorial

2004-07-14 Thread Mike Hearn
On Wed, 14 Jul 2004 18:40:20 +0200, Andreas Mohr wrote: > Now what the heck does that have to do in a wine-devel email?? > > This should be in the Developers Guide, pronto! I thought about doing that straight away, but this stuff is easiest to review (and it needs it!) when it's just plain text.

Re: Marshalling tutorial

2004-07-14 Thread Andreas Mohr
Hi, On Wed, Jul 14, 2004 at 05:07:33PM +0100, Mike Hearn wrote: > Hi guys, > > Here is the start of some notes on DCOM and OLE RPC. Now what the heck does that have to do in a wine-devel email?? This should be in the Developers Guide, pronto! (otherwise it will get lost even faster than you cr

Marshalling tutorial

2004-07-14 Thread Mike Hearn
Hi guys, Here is the start of some notes on DCOM and OLE RPC. They're intended to help people like Duane who are hitting problems caused by it, and possibly to form the basis of some decent documentation for the developer guide. Things that only a few people understand make me nervous, getting t