Chip,
I know you said you verified your forProcess variable is a process but I
would double check. This works fine for me as long as the process is
valid. But if the process isn't valid then I get the error you are
getting. How did you verify forProcess is a process and what are you
setting it to?
Doug
Chip Orange wrote:
Hi all,
I guess this is really to GW:
I'm getting an "invalid procedure call or argument" when I try to
block an msaa event from another process. I have first verified by
displaying the name that my variable does hold a valid process. here
are the lines I'm using:
set x = msaaEventSource
x.blockEvent event_SYSTEM_SOUND, forProcess
I also get the error if I don't make a copy of msaaEventSource, but
try to execute blockEvent from it.
does anyone know why this is?
I'm trying to work around another WE problem having to do with
possibly MSAA output from this process, this is getting silly!
thanks.
Chip