I've written a few DLL's and want to use them in Alpha Five (4.03 build 230), just to learn more about using DLL's and Alpha Five.

Here is a small DLL I wrote to test with Alpha Five. I placed the DLL in the APP directory and created a function to use it.

The original PB code compiled to a DLL.
'==========================================================
' COMPILE DLL "Bobs.dll"

' FUNCTION AddOne (BYVAL x AS LONG) EXPORT AS LONG
' AddOne = x + 1
' END FUNCTION

' As you can see it expects numical input and
' it returns numerical output
'==========================================================

function AddTogether as N()
dim result as N
declare bobs AddOne LL

result = Addone(23)

trace.writeln(str(result))

end function

I keep getting Error- Couldn't find external function

Any Ideas?

Regards,
--Bob

PS - I added the Bobs.DLL so you can play with it.