Ativirus-Firewall is blocking a needed global hook!
-
My program crashes on a client's pc (with XP) on this 3 lines (on any other pc it correcly runs):
m\_pMainWnd->ShowWindow(SW\_SHOWMAXIMIZED); //Wanted a maximed window m\_pMainWnd->SetForegroundWindow(); //Set this window on the top of the others m\_pMainWnd->UpdateWindow();
They are default instruction in the initialization function (
InitInstance
) of a MFC program. My antivirus (COMODO) tells a warning onUpdateWindow
because when run trys to install a global hook on "atioglxx.dll" (It looks a dll from my ATI video board). If I do not permit this the program stops, else runs perfectly. I'm quite sure that some setting of the antivirus of the client is locking this function! Or that his video-board isn't so compatible with this function. Why this hook? Is it important? can I avoid this to let the program run on every pc? Any other solution? Of course there is the easy way (but not the real solution) to tell to the user to disable the antivirus (I think it is Norton) Thanks
Russell
-
My program crashes on a client's pc (with XP) on this 3 lines (on any other pc it correcly runs):
m\_pMainWnd->ShowWindow(SW\_SHOWMAXIMIZED); //Wanted a maximed window m\_pMainWnd->SetForegroundWindow(); //Set this window on the top of the others m\_pMainWnd->UpdateWindow();
They are default instruction in the initialization function (
InitInstance
) of a MFC program. My antivirus (COMODO) tells a warning onUpdateWindow
because when run trys to install a global hook on "atioglxx.dll" (It looks a dll from my ATI video board). If I do not permit this the program stops, else runs perfectly. I'm quite sure that some setting of the antivirus of the client is locking this function! Or that his video-board isn't so compatible with this function. Why this hook? Is it important? can I avoid this to let the program run on every pc? Any other solution? Of course there is the easy way (but not the real solution) to tell to the user to disable the antivirus (I think it is Norton) Thanks
Russell
Russell' wrote:
Is it important? can I avoid this to let the program run on every pc?
Have you tried?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons