Solved

MessageBox in DLL

Posted on 2001-08-07
1
291 Views
Last Modified: 2010-05-18
Hi

I invoke MessageBox API function from DLL and an Icon doesn't display :(

MessageBox(Handle, 'Text', 'Caption', MB_OK and MB_ICONINFORMATION);

Handle - form's handle stored in DLL
0
Comment
Question by:vterekh
1 Comment
 
LVL 20

Accepted Solution

by:
Madshi earned 20 total points
ID: 6359109
It has to be "MB_OK or MB_ICONINFORMATION". Doesn't matter whether you call it from a dll or from an application.

Regards, Madshi.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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