1. Introduction

Magic's RAD-Development-Tool can be efficient and fast in developing complex tasks. But sometimes there is a need to call external functions. For this case there are several interfaces to call external DLL's.
But there are restrictions, not every function is usable. Some function's are awaiting a structure as value but magic is not able to process such structures. Other function's deliver the result to a call back address, which is called on an event.
So there are only some function's left, which are helping to make life (ähm.. work) easier with magic.

!! don't forget, portability to another OS is not easier with API call's !!

Enjoy the discovery of the Windows API.

1.1 Contacts

Here is a very good guide to Windows API function's:
Windows API Guide

1.2 New versions of this dokuments

New versions of this document are always available at
1.2.1 Samples
Here you find the program samples. Files with the extention ".app" are application's and file with ".mgp" are standalone program's.

1.3 Feedback

I rely on you, the reader, to make this HOWTO useful. If you have any suggestions, corrections, or comments, please send
them to me,, please replace "ANDY" with "and", I will try to incorporate them in the next revision.

1.4 Distribution Policy

Copyright K.-D. Uhlich 2000. All rights reserved.
This document may be distributed under the terms set forth in the LDP license at
Short: read and use at your own risk. No money-back guarantee. No batteries included.