?
Solved

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

Posted on 2003-10-22
11
Medium Priority
?
926 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
[X]
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
  • 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 100 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 100 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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