This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Returns name of the DLL, which contains compiled code from #Compiled / #EndCompiled sections, if any.
Syntax
s = Compiled_DLL_FileName
Returns
String, full path and file name of the DLL
Parameters
Name |
Type |
Optional |
Meaning |
Remarks
Your code needs to contain #Compiled / #EndCompiled in order to create the DLL.
Restrictions
See also
Examples
#Compiled Language = FreeBasic
sub SayHelloFromFreeBasic cdecl (byref sDLLFileName as zstring) Export
Print "Hi there. I'm a compiled code."
print "I'm a FreeBasic Sub compiled inside " & sDLLFileName
end sub
#EndCompiled
uses "Console"
SayHelloFromFreeBasic(Compiled_DLL_FileName)
printl "Now I'm printing from thinBasic script"
' -- You can use it in function declarations just in case you need
' -- Notice FreeBASIC zstring is thinBASIC asciiz
'declare sub SayHelloFromFreeBasic LIB Compiled_DLL_FileName ALIAS "SayHelloFromFreeBasic" (byref sMessage as asciiz)
WaitKey