dwscript Questions
8
Solved
I'm planning to include a pascal script in my application. It does not require any web access, simply access to classes in my Application. It should be fast (compiled). I see that there are a numbe...
Reorganization asked 3/2, 2011 at 17:59
1
Solved
I exposed a Delphi class to the scripts using TdwsUnit.ExposeRTTI method. It works very well with basic data types.
However it doesn't work when I add a TNotifyEvent. My Delphi class has an OnChan...
1
Solved
Using DWScript, I don't see obvious way of checking the return value of the FileCreate function.
Example (not working) script:
function TestFileCreate : Boolean;
var
F : File;
begin
F := FileCr...
1
Solved
Given a IScriptObj reference how does one get to a corresponding IInfo or TProgramInfo?
I have a script object that wraps a Delphi object.
In order to manage the life time of the script object ...
1
Solved
Alright, I am totally new to DWScript. For now I am fascinated by its abilities, but although I read all the pages in the accompanying wiki and questions/answers here I still cannot find a way to e...
2
Solved
I'm wondering if DWScript supports using a script method as an event handler for a control on a Delphi form. For example I want to link a TButton OnClick event to a method that exists in script.
...
2
Solved
The application I am working on allows embedding script sinppets into a document. For example:
SomeText
<* PrintLn("This line is generated by a script"); *>
Some other text
<* PrintLn("Th...
1
Solved
As I understand it, DWScript does not compile scripts into an intermediary bytecode. However, I would like to be able to store a "compiled" script, to be able to send it through a stream or save it...
2
Solved
I would like to know if DWScript is capable of using threads inside of scripts, as some engines do not synchronize access to it's internal data structures.
Iciness asked 2/6, 2012 at 9:44
1
Solved
I want to use dwscript for web programming ( generating dynamic content). I was wondering if there is any module for apache web server? Or how can I run my own web server based on dwscript?
2
Solved
I'm currently starting to integrate "Delphi Web Script" in my application basically only as a scripting engine (interfacing with functions, classes, etc.); awesome software for the standard delphi ...
2
Solved
I'm writing an IDE for DWScript and have got it stepping through code using the debugger. I now wish to add a display of 'local variables' (i.e those in scope). Can someone give me a pointer to the...
1
Solved
I am putting together a built-in script capability using the excellent Pascal DWScript. I have also add my own Delphi-side class definition (TDemo) to DWScript using:
dwsUnit.ExposeRTTI( TDemo.Cla...
1
Solved
Hey,
Delphi Web Script is really great scripting engine. I'm trying to use it in one of my projects. However, I'm not sure if it is possible to enumerate all the types, functions that are available...
1
© 2022 - 2024 — McMap. All rights reserved.