|
[ANN] PasScript v5.1: Importing Delphi Classes
Newest version of the PasScript interpreter allows you to import Delphi classes from a dll, so you can directly in a script:
use instances of any Delphi class;
create new instances of a Delphi class and destroy them;
create new PasScript classes which inherit a Delphi class.
Here is an article regarding it:
http://virtlabor.chat.ru/passcript/import.htm
PasScript is an interpreter of a vast subset of the Object Pascal language
which includes ordinal, real, variant, procedural, pointer, file, record,
array and class types, allows modular programming on the basis of units and
ensures exception handling.
This subset was extended by the Poly data type that allows you to operate
with dynamic data structures (lists, trees, and more) without using pointers
and apply Pascal language in the AI data domain as well.
Besides using PasScript you can:
handle Windows messages directly in a script;
control an OLE Automation server,
call routines defined in a DLL.
Direct link to download the PasScript interpreter:
http://virtlabor.chat.ru/downloads/passcript.zip (Win95/98/2000/NT, freeware, 545Kb).
You can embed PasScript interpreter into your Delphi application by means of
TPasScript component.
The TPasScript is non-visual component that you can drop into your Delphi
application so that you can extend and customize an application without
having to recompile it.
TPasScript allows you:
to write and run scripts;
to call a script routine;
to allow user interface (buttons, memos etc) "be alive" during parsing and
running a script;
to use Delphi types, routines, constants, and variables in a script;
to import Delphi classes directly (without having to use dll);
customize parsing process and error handling;
to check script syntax at design time.
Direct link to download trial version:
http://virtlabor.chat.ru/downloads/abpasscr.zip (D4, D5, shareware, 325Kb).
Please visit new PasScript site:
http://virtlabor.chat.ru/passcript/index.htm
Thank you.
Alexander Baranovsky,
VIRT Laboratory
http://virtlabor.chat.ru
ab@virtlabor.donbass.com
Related Discussions - HOW TO KILL ANYOTHER PROGRAMS WITH DELPHI? (2001-01-02 17:04:42)Find the handle of the window using FindWindow or EnumWindows and use
PostMessage(ProgramHandle, WM_CLOSE, 0, 0);
I have not tried it, but it...
- HOW TO GREP CHARACTERS IN DELPHI 3 (2001-01-03 01:29:32)Var
Grep : String;
Begin
Grep := Copy('2000-46',6,2);
End;
The first parameter is a string or a dynamic array, the second is the index of...
- HOW CAN I DEBUG DLL (2001-01-03 00:48:24)Do you mean how to find internal errors while writing a DLL file or how to get the exact error while calling a DLL Function ?
/Filip
- USING DLLS (2001-01-03 23:47:50)Hi again Goober ... :o)
Let's take NETAPI32.DLL as an example.
This DLL is created by Microsoft and the explanation of its use is described in...
- DOT ON SCREEN (2001-01-03 03:42:55)Delphi does not support a Pixel function with a HDC, you have to use the Windows-API-function
COLORREF SetPixel(
HDC hdc, // handle...
- HOW TO RUN DATABASE APPLICATION ON THE INTERNET (2001-01-03 03:04:54)This is possible using COM objects and ActiveX Server ...
Don't ask how ... I'm not into COM object programming ... :o)
Regards
/Filip
- HELP WITH CHDIR !!!! TURBO PASCAL VS DELPHI (2001-01-03 06:48:49)This is because the ChDir Procedure, the SetCurrentDir and SetCurrentDirectory Functions are changing the directory in the active process.
Try...
- FRIENDS IN DELPHI ?? (OR OTHER ACCESS WORKAROUNDS) (2001-01-04 09:08:37)One of the quirks of Delphi is that classes in the same unit can access protected and private methods and variables. Borland does this a lot in...
- SENDING ICQ MSGS FROM DELPHI (2001-01-03 14:54:03)I tried the ICQ Api, but never used it. I've added a simple ICQPager component to delphipages (Winsock/TCPIP).. it might help...
Q
- RUNNING A DATABASE APPLICATION ON ANOTHER COMPUTER (2001-01-07 05:36:33)In the BDE on the other PC (the one without the database), you must add an alias to point to the location of the database in the format of:...
|