MS AntiSpyware Slows exe

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
we have a exe that closes some other exes when the main exe closes, and
when ms antispyware is running the closing of the other exes is very slow.
if we turn off the antispyware the closing of the other exes is fast. from
what we have found the calls to the windows api is causing the slowdown

here are some of the declares of the api calls used
Private Declare Function IsWindow Lib "user32" (ByVal hWnd As Long) As Long
Private Declare Function GetTopWindow Lib "user32" (ByVal hWnd As Long) As
Long
Private Declare Function GetNextWindow Lib "user32" Alias "GetWindow" (ByVal
hWnd As Long, ByVal wFlag As Long) As Long
Private Declare Function EnumProcessModules Lib "PSAPI.DLL" (ByVal hProcess
As Long, ByRef lphModule As Long, ByVal cb As Long, ByRef cbNeeded As Long)
As Long
Private Declare Function OpenProcess Lib "kernel32.dll" (ByVal
dwDesiredAccessas As Long, ByVal bInheritHandle As Long, ByVal dwProcId As
Long) As Long
Private Declare Function GetModuleFileNameEx Lib "PSAPI" Alias
"GetModuleFileNameExA" (ByVal hProcess As Long, ByVal hModule As Long, ByVal
lpFileName As String, nSize As Long) As Long

does anyone know what might be causing the slowdown or how to stop the
slowdown?


Thanks
 
I think that it is unlikely that we have the development-related knowledge
here to answer this question.

My suggestion is that you hold this concern in abeyance until beta2 is
available, and see whether the same behavior occurs then. Beta2 may be
quite different from beta1 with respect to these low level details.
 
How can i inform microsoft of the problem so i can be assured that it is
fixed with beta2. I cannot seem to find anything in the help or ms
antispyware web site about reporting (bugs?) or concerns.
 
Oman said:
Hello
we have a exe that closes some other exes when the main exe closes, and
when ms antispyware is running the closing of the other exes is very slow.
if we turn off the antispyware the closing of the other exes is fast.
from
what we have found the calls to the windows api is causing the slowdown

<snip>

MSAS is *BETA* software. That means you should NOT be using it in a
production environment. It should only be used as a personal solution, for
now, and not on a critical host.
 
Back
Top