Re: How to build a buffer to deal with the accessing from multi-process?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Brian Muth (bmuth_at_mvps.org)
Date: 01/07/05


Date: Thu, 6 Jan 2005 20:26:07 -0800

Yes, but I strongly recommend the technique I described over other methods.
IMHO there are fewer pitfalls.

If you are creating an EXE, you can create what is called a singleton COM
object. Then every client that tries to instantitates a new COM object will
be given an interface pointer to the same COM object.

See DECLARE_CLASSFACTORY_SINGLETON.

Do NOT house this in a DLL.

Brian



Relevant Pages