View Full Version : DLL ready so Thinbasic can be used as a script language?
Michael Hartlef
09-11-2006, 18:00
Hi folks,
in the codingmonkeys forum it was mentioned, that Thinbasic could be used
via DLL as a script language for an application.
Is it allready possible and if yes, can you point me to some examples how
to interface an application/game with ThinBasic?
Michael
ErosOlmi
09-11-2006, 18:23
Hi Michael,
yes/no :(
Yes:
it is possible to use thinBasic to make 3rd party applications scriptable. It will be done by using thinCore.dll
For example thinBasic.exe is like a "3rd" party executable using a script engine called thinCore.dll
No:
not yet released to the public. Time to be ready not yet available so far.
If you are interested, I will consider you for beta testing phase. What language do you think you will test it?
Ciao
Eros
Michael Hartlef
11-11-2006, 08:45
I was thinking about using it with BlitzMax or IBasic Pro.
RobertoBianchi
13-11-2006, 12:05
Hi Michael,
what you need exactly? A script engine for your application/game or you need to handle some DLLs from a script?
In the first case you need ThinCore.dll plus the activation key but this step involves with some commercial aspects that we have not still completely defined.
Otherwise (second case) have you already given a glance to the SDK? For IBASIC Pro language there is an simple example for handle sprite.
Please let us know what you need.
Thank you very much and best regards,
Roberto
Michael Hartlef
29-11-2006, 14:55
Hi Roberto,
I was talking about a script engine for a game or an application.
Michael
Shannara
17-12-2006, 10:08
I registered just because of this thread :) I too am looking to use thinBasic in an application (and possibly game server). I am looking at Aurora and Pure Basic as host languages to do this. However, I do have a question ... with thinCore.dll, would we be able to register our application functions, classes, and objects to be called by thinBasic scripts?
Also ,if this means buying a commercial license ... sounds good to me :)
ErosOlmi
17-12-2006, 10:32
The idea is that: you will be able to pass to thinCore.dll some info in order to add new keywords connected to your application functions.
You will pass:
a Keyword name
a return type (numeric, string, none)
a pointer to a function
This will allow thinCore to add new keyword to current thread connected to your application function. Than inside your function you will use some thinCore.dll exported function in order to parse the syntax you will prefer: mainly parens and parameters, if any.
Classes and objects? These are OOP tems and thinBasic cannot handle it unless managed directly by pointers.
We will give more details at the end of Jan2007 on development timing and possibilities.
Ciao
Eros
Shannara
29-02-2008, 01:07
It's been over a year now, any news on the DLL version of Thinbasic? I'm still itching to use this in Purebasic.
ErosOlmi
29-02-2008, 12:03
Well, we would be the happiest if thinBasic could be used as script engine. If this is not yet been released to the public, it means we are not still ready. And this for many reasons.
During the last year we so much improved (http://www.thinbasic.com/public/products/thinBasic/help/html/whatsnew.htm) thinBasic. This was a hard work for us. We had to give our priorities and unfortunately, even if it is our intention to release a script engine, we were not able to give enough time to this.
Our number 1 and 2 priorities are stability and speed execution.
We did great improvements on those items but we are not still satisfied.
Next thinBasic version will be the last one compatible with Win9x system. Let us close this and we will reconsider our schedule.
Ciao
Eros