User lib / DLL for a windows Message DLG.

Miscellaneous Forums/Blitz Showcase/User lib / DLL for a windows Message DLG.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Why do you need a dedicated DLL for this? You could very well have made direct calls to the windows API. No need for a 300 kb DLL for MessageDialog, use some decls like that (not tested):

.lib "user32.dll"

MessageBox%(hWnd%, lpText$, lpCaption$, uType%):"MessageBopxA"

and grab the needed constants from the MSDN doc.
Pass 0 for the first parameter.