Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-10-22
11
Medium Priority
?
936 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 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