Click here to Skip to main content
15,867,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Showing Error Pin
Game-point14-Sep-09 23:20
Game-point14-Sep-09 23:20 
GeneralRe: Showing Error Pin
CPallini14-Sep-09 23:43
mveCPallini14-Sep-09 23:43 
Questiondynamically create controls on dialog box Pin
sunnyram14-Sep-09 22:12
sunnyram14-Sep-09 22:12 
AnswerRe: dynamically create controls on dialog box Pin
CPallini14-Sep-09 22:39
mveCPallini14-Sep-09 22:39 
GeneralRe: dynamically create controls on dialog box Pin
sunnyram16-Sep-09 22:37
sunnyram16-Sep-09 22:37 
QuestionRe: dynamically create controls on dialog box Pin
David Crow15-Sep-09 2:54
David Crow15-Sep-09 2:54 
AnswerRe: dynamically create controls on dialog box Pin
sunnyram16-Sep-09 22:39
sunnyram16-Sep-09 22:39 
QuestionAtivirus-Firewall is blocking a needed global hook! Pin
Russell'14-Sep-09 22:09
Russell'14-Sep-09 22:09 
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 on UpdateWindow 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

QuestionRe: Ativirus-Firewall is blocking a needed global hook! Pin
David Crow15-Sep-09 2:56
David Crow15-Sep-09 2:56 
QuestionpRecordset GetItem Pin
MsmVc14-Sep-09 21:38
MsmVc14-Sep-09 21:38 
AnswerRe: pRecordset GetItem Pin
MsmVc14-Sep-09 22:28
MsmVc14-Sep-09 22:28 
QuestionRe: pRecordset GetItem Pin
David Crow15-Sep-09 3:01
David Crow15-Sep-09 3:01 
QuestionBasics C++ Pin
john563214-Sep-09 21:09
john563214-Sep-09 21:09 
AnswerRe: Basics C++ Pin
Richard MacCutchan14-Sep-09 21:32
mveRichard MacCutchan14-Sep-09 21:32 
QuestionRe: Basics C++ Pin
CPallini14-Sep-09 21:37
mveCPallini14-Sep-09 21:37 
AnswerRe: Basics C++ Pin
_AnsHUMAN_ 14-Sep-09 21:50
_AnsHUMAN_ 14-Sep-09 21:50 
AnswerRe: Basics C++ Pin
KarstenK14-Sep-09 21:54
mveKarstenK14-Sep-09 21:54 
AnswerRe: Basics C++ Pin
«_Superman_»14-Sep-09 22:56
professional«_Superman_»14-Sep-09 22:56 
QuestionSyntax error in INSERT INTO statement Pin
jadhavjitendrar14-Sep-09 19:55
jadhavjitendrar14-Sep-09 19:55 
AnswerRe: Syntax error in INSERT INTO statement Pin
Code-o-mat14-Sep-09 20:32
Code-o-mat14-Sep-09 20:32 
AnswerRe: Syntax error in INSERT INTO statement Pin
CPallini14-Sep-09 21:01
mveCPallini14-Sep-09 21:01 
AnswerRe: Syntax error in INSERT INTO statement Pin
David Crow15-Sep-09 3:04
David Crow15-Sep-09 3:04 
QuestionChild Windows Pin
Cipher 2214-Sep-09 19:00
Cipher 2214-Sep-09 19:00 
AnswerRe: Child Windows Pin
Randor 15-Sep-09 1:43
professional Randor 15-Sep-09 1:43 
QuestionRe: Child Windows Pin
David Crow15-Sep-09 3:06
David Crow15-Sep-09 3:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.