Page 1 of 1
ScriptControl by ts-soft
Posted: Sat Jan 08, 2011 12:30 pm
by Little John
Where can I download the source code?
I found a download link in
this post on the German forum, but that link is outdated.
Regards, Little John
Re: ScriptControl by ts-soft
Posted: Sat Jan 08, 2011 12:53 pm
by ts-soft
ScriptControl
Greetings - Thomas
Re: ScriptControl by ts-soft
Posted: Sat Jan 08, 2011 1:53 pm
by Little John
Thank you very much, Thomas!
I downladed it, and tried the example "Date.pb" -- I just added at the beginning the line
Code: Select all
XIncludeFile "..\Source\ScriptControl.pb"
When running that example, I get an error in
ScriptControl.pb on line 345
Code: Select all
ProcedureDLL SCtr_SetLanguage(Language.s)
ProcedureReturn ScriptControl\put_Language(Language) ; << error
EndProcedure
The error message is
Code: Select all
Ungültiger Speicherzugriff (Lesefehler an der Adresse 0)
Same problem e.g. with "test3.pb".
I am using PB 4.51 on Windows XP x86.
Regards, Little John
Re: ScriptControl by ts-soft
Posted: Sat Jan 08, 2011 2:27 pm
by ts-soft
The Source is to compile as UserLib!
A UserLib have a Init and a End Function.
If you use the source as Include, you have to add:
Code: Select all
ScriptControl_Init()
...
...
ScriptControl_End()
Re: ScriptControl by ts-soft
Posted: Sat Jan 08, 2011 2:31 pm
by Little John
Oh, I see. Thank you!