ErosOlmi
20-12-2006, 16:48
I think I've got a possible acceptable starting point in thinBasic module development using Delphi.
Please find here attached 2 files:
thinCore.zip contains a revised version of thinCore.dll.
To be used you need to have installed thinBasic version 1.2.0.0. Please rename you current thinCore.dll in thinCore.dll_ in order to get it back in case of need and place the attached one in thinBasic directory.
DelphiDLLTest.zip contains the full Delphi SDK for thinBasic.
Create a directory under thinBasic and place in there all the file present in DelphiDLLTest.zip.
This is an example module called thinbasic_MyDelphi.dll
After generation in Turbo Delphi you can run DelphiDLLTest.tbasic to test new keywords.
If you want distribute your modules remember they need to be placed in thinBasic\Lib\ directory.
All this is still under construction so be prepared to have some changes in interface file thinCore.pas
Let me know about any problems or other issues. Consider I'm not a Delphi expert so I'm sure I've done some errors but I'm here to correct them with your help.
Regards
Eros
Download removed from this post. Can be found here in this forum under Delphi SDK downlaod
Please find here attached 2 files:
thinCore.zip contains a revised version of thinCore.dll.
To be used you need to have installed thinBasic version 1.2.0.0. Please rename you current thinCore.dll in thinCore.dll_ in order to get it back in case of need and place the attached one in thinBasic directory.
DelphiDLLTest.zip contains the full Delphi SDK for thinBasic.
Create a directory under thinBasic and place in there all the file present in DelphiDLLTest.zip.
This is an example module called thinbasic_MyDelphi.dll
After generation in Turbo Delphi you can run DelphiDLLTest.tbasic to test new keywords.
If you want distribute your modules remember they need to be placed in thinBasic\Lib\ directory.
All this is still under construction so be prepared to have some changes in interface file thinCore.pas
Let me know about any problems or other issues. Consider I'm not a Delphi expert so I'm sure I've done some errors but I'm here to correct them with your help.
Regards
Eros
Download removed from this post. Can be found here in this forum under Delphi SDK downlaod