Creating a DLL

To create a .dll, you need to compile and link one or more object files. This is done by using the command below:

mfplx newdll.pli -deb -defext -dll

In this example, newdll.pli is your source file. You compile and link it in one step with the command-line driver mfplx.

-deb produces debugging information for CodeWatch.

-defext causes external variables to be defined in the .data section. You must use the link option -dll to create a .dll.

You also need to add to the command one of the options below: