Home > Software engineering >  Call DLL file, have a popup window, how to block pop-up window
Call DLL file, have a popup window, how to block pop-up window

Time:09-17

Call DLL file, have a popup window, how to block pop-up window,
Third party to a DLL and call when there is a popup window, other normal, haven't cooperation with the third party, to a third party changes unlikely,
How to kill the modal window, want to be used in self-service machine,

CodePudding user response:

Paid to provide solutions, QQ: 511606848

CodePudding user response:

FindWindow/PostMessage (... The WM_CLOSE,... ); Feasible?

CodePudding user response:

ShowWindow give him change a HIDE

CodePudding user response:

Specific see play the function of the window, if it is a MessageBox similar good has nothing to do with the process of solving, OD the nop off directly

CodePudding user response:

This is not simple, method one: hook solution
Method 2: nop code

CodePudding user response:

[depends] tool first to make sure the DLL call which API function, especially with the user32. DLL of related functions, see which he is to call a Windows API to create a window, is CreateWindow or MessageBox or DialogBoxParam

Then use Monitor [API] Monitor target API calls to verify that the guess

Finally, using OD debugging, up and down in the API breakpoints, find the DLL call API function, USES the nop instructions fill out the call, however, to save the changes to the DLL

Or, since the DLL is loaded into the process of their program, write code that is in your own applications related to Hook API function, direct return

APIHook can refer to "Windows core programming, code provides a simple with books available IAT Hook
  • Related