First we have to thank Fred for making the Compiler produce a .lib file when compiling as dll. And thanks for the import function because now we cann do the following:
This code is compiled as DLL for example with pb 3.94
Code: Select all
ProcedureDLL MakeSth(Val.l)
MessageRequester("TeHTEst",Str(Val.l))
EndProcedure
Now we copy the NameofDLL.lib file int the directory of the sourcode for our Version 4.0 program.
Here is the code we right in 4.0 to use the function from 3.94
Code: Select all
Import "NameofDLL.lib"
MakeSth(Val.l)
EndImport
MakeSth(45)
Thats an absolutley WOW Feature I think