Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

MessageBox in DLL

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
vterekh
Asked:
vterekh
1 Solution
 
MadshiCommented:
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now