Memory Access Violation with CallDLL

Blitz3D Forums/Blitz3D Beginners Area/Memory Access Violation with CallDLL

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.

It is in de code archives:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1179
The declaration for MessageBox is in there, too:
api_MessageBox% (hwnd%, lpText$, lpCaption$, wType%) : "MessageBoxA"

However, that still doesn't help much about why CallDLL doesn't work .. because I think it should. :/