=?Utf-8?B?VmF1Z2hhbg==?= said:
I read somewhere that I need to launch child processes to overcome my
problems with the RPC limit. Please can anyone explain what that means
and how to do it?
A given process has a limit of 255 (maybe as low as 240 in practise)
RPC connections at once, so if you want to make more connections than
that, you need to launch a second process. Each outlook object may keep
an rpc connection open, so once you have too many objects floating
around, your process can run out of connections.
This may not be relevant to you if you're just writing OOM macros, in
that situation you don't really have the sort of control over things to
launch processes. (well, maybe you do, but it would be no end of pain to
get them talking back to your macro, I suspect).
If you don't know what RPC and/or processes are, you should probably
steer clear of trying to work around restrictions in them. See
http://en.wikipedia.org/wiki/RPC
and
http://en.wikipedia.org/wiki/Process#Computing
for brief definitions; Microsoft's particular take is at
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dnanchor/html/rpcank.asp
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dllproc/base/child_processes.asp
-- dan