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
LVL 1
vterekhAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
MadshiConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.