Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close Error Message from "other" application

Status
Not open for further replies.

ThomasMatelart

Programmer
Apr 17, 2001
14
BE
Please ... help me !

I am activating (using shell) a program that generates sometime to time an error message (application error : The memory could not be read...). The message is non-negotiable. It can not be disabled.
Is there any way to check to see if it has appeared and THEN close this message and restart the application that generates the error. Any help would be appreciated.

Thomas.m.
 
Had a similar problem...

Find the window and send a WM_CLOSE to it.

thread222-21127 contains basic find window code.
SendMessage is WINAPI.


Wil Mead
wmead@optonline.net

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top