Hello,
GETOBJECT() definitly does not work, since each COM class can only be registered once in the system. If you start N instances of MS Word only the first one will be accessible via GETOBJECT() ..
"I can use EnumProcess to get the individual proc ids, but how would one get an object ref from that? Perhaps there is another way?"
just an idea, you might do something like this
API EnumWindows to enumerate all toplevel windows ..
API GetWindowThreadProcessId to get the process ID of each window
then check if the process ID of a window is in the list of the process ID's you're interested in.
API AccessibleObjectFromWindow for each window handle identified like above.
see:
http://blogs.msdn.com/calvin_hsia/archive/2005/11/28/497529.aspxRegards
Christian