We're using a third-party dll provided by a hardware manufacturer, apparently the developers thought it's a great...
We're using a third-party dll provided by a hardware manufacturer, apparently the developers thought it's a great idea to show messages from dll in stead of just returning an error code.
The problem:
- dll calls MessageBoxA whenever it feels like, we don't know all cases in which it display a message, the application is a kiosk, therefore it's unacceptable
Partial solution:
- currently, using https://code.google.com/p/delphi-detours-library/ we can intercept all calls to MessageBoxA and log them, however, ideally, we would want to hook just the call from the dll or somehow, figure out that the caller is the dll
Any help is appreciated!
The problem:
- dll calls MessageBoxA whenever it feels like, we don't know all cases in which it display a message, the application is a kiosk, therefore it's unacceptable
Partial solution:
- currently, using https://code.google.com/p/delphi-detours-library/ we can intercept all calls to MessageBoxA and log them, however, ideally, we would want to hook just the call from the dll or somehow, figure out that the caller is the dll
Any help is appreciated!
Comments
Post a Comment