Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Delphi .DLL makes showmessage popup - how to kill it instantly

Posted on 2003-10-22
11
907 Views
Last Modified: 2008-02-01
My program uses some .dll and that .dll causes message box, which have to be closed pressing OK button.

Calling .ddl is in formcreate part of program.

How could I kill that "showmessage" popup so that it disappears instantly or doesn't come at all ?

0
Comment
Question by:hsimola
  • 2
  • 2
  • 2
  • +2
11 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 9600524
is it a nag-messagebox (shareware-dll)?
0
 
LVL 6

Expert Comment

by:GloomyFriar
ID: 9600594
Give me the dll and some extra points and all will be ok ;-)
<e-mail removed from AnnieMod>
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 25 total points
ID: 9605407
Well, if it's a modal dialog then your application might not get a chance to detect that messagebox by using FindWindow or some other technique. Normally it should not be too difficcult to find a window and send a button-press message to it. However, wouldn't it be easier to just modify that DLL to remove the offending messagebox?
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:hsimola
ID: 9605428
I disassembled .dll and can see that stupid text there.

But I don't know how to make .dll again from it.

Any good programs for that ?

0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 9605786
I now wonder if you're trying to hack a shareware DLL or whatever. Keep in mind that if you don't have the source of this DLL, the owner of the DLL might not like it that you start altering it.
0
 
LVL 6

Expert Comment

by:GloomyFriar
ID: 9606999
My proposal still in force.
0
 
LVL 5

Assisted Solution

by:Hypoviax
Hypoviax earned 25 total points
ID: 9697474
Just post a message:

postmessage(findwindow(nil,'Message'),wm_close,0,0)

Chuck this on a timer and as soon as a showmessage caption ('Message'  i think) appears it will automatically close it.

You can also use closewindow in a similar fashion

Regards,

Hypoviax
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 12330196
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Virtuailstring tree compare node issue 14 125
Run video youtube webbrowse 10 65
QRReport  TQrmemo vertical stretching 1 53
delphi parse string to params 3 136
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question