Solved

MessageBox in DLL

Posted on 2001-08-07
1
288 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now