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...
Jassy asked 13/5, 2013 at 9:55

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...
Bushbuck asked 2/2, 2016 at 14:52

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 ...
Sedgewick asked 16/12, 2014 at 14:59

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...
Invitatory asked 9/1, 2013 at 14:45

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. ...
Beilul asked 23/9, 2012 at 4:3

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...
Burlie asked 9/6, 2012 at 3:19

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...
Hypochlorite asked 19/6, 2012 at 15:57

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?
Retinol asked 7/5, 2012 at 11:18

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 ...
Lapboard asked 27/12, 2011 at 4:56

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...
Balcony asked 9/9, 2011 at 8:44

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...
Dipterocarpaceous asked 25/8, 2011 at 9:5

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...
Fatima asked 30/5, 2011 at 20:42
1

© 2022 - 2024 — McMap. All rights reserved.