PDA

View Full Version : Create DLL for Windows



Tolo68
09-06-2022, 22:04
Hello to the whole forum.

Can DLLs be created with ThinBasic?

If so, how would be the example to create one that adds 2 numbers?

Thank you

Petr Schreiber
10-06-2022, 10:42
Hi Tolo68,

while thinBASIC is able to produce stand alone executables, it is possible thanks to a "trick" when thinBasic core is bundled with the original script to a single EXE.

This approach is not applicable for creation of DLLs - you could use FreeBASIC, PowerBASIC or other alternatives to create a compiled DLL file.

Yet, you can then use these DLLs from thinBASIC.


Thanks for understanding,
Petr