Create Dll File in Forth

How to Creat a .DLL File Using the SwiftForth

Source code

: MBOX 0 z" www.code4th.com" z" Hello" 0 MessageBox ;

AS SimpleBox 0 Export: MBOX

program mbox.dll

library mbox.dll

FUNCTION: SimpleBox ( – x )

SimpleBox

Additional information

If you want to create a .dll file with more functions. The process is similar. I pulled this from the SwiftForth reference manual.

Create a dll

To create a .dll with SwiftForth you will need the full version of the program.