Compile the project. Note that you can't 'run' a dll, so if you press F9 you will get an error message. Use Compile/Build all instead.
You dll will be created in the same directory as your project. So lets go try and it out!
Load APW. Start a new file. Choose Data/Load function. Select your dll. Since this is not yet a UCD, you will have to enter the functions, arguments and return yourself. They will be:
Name: Add;
Arguments: short,short;
Return: short. (Note that an integer in APW is a short.)
Now you can use your function. Add a calculation icon to the
flowline and add two numbers together. eg
res := Add( 3, 4 )
Did you get 7? Are you impressed with yourself? Think you're a real programmer now?
When you have finished, close the APW file. Don't bother to save it.
on to: Creating the ReturnString function
back to: Creating the Add function Start