Search found 15 matches: pdscript

Searched query: pdscript

by HPW
Wed Mar 27, 2013 6:06 pm
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Hello,

A new release of pdSript is available:

http://www.be-precision.com/products/pd ... ngelog.php

The new option to build standalone Exe might be interesting to combine with newlisp.dll

Regards
by HPW
Thu Jan 19, 2012 11:10 am
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Just released a new hpwPdScript 1.01: http://www.hpwsoft.de/anmeldung/html1/neobook/neobook25.html Contains latest version of much improved pdScriptE.dll 1.7.5.1 New actions: hpwPdsGetScriptForm=Returns a main form handle (if exists) of previously executed script instance. hpwPdsGetScriptResult=Returns ...
by HPW
Mon Oct 03, 2011 10:18 am
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Precision has released the pdScript-IDE 1.0 now as shareware: http://www.be-precision.com/products/pdscript/ The distribution contains several samples: EmbeddedNewLISP - Sample for embedding newlisp.dll EmbeddedNewLISPHanoi - The newlisp ...
by HPW
Wed Sep 21, 2011 8:38 pm
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Hello, Just tested the new newlispCallback in the pdScript demo with embedded newlisp: pdScript function import: function newlispCallback(callbackname: PChar; callbackaddress: Integer; calltype: PChar): PChar; external 'newlispCallback@newlisp.dll ...
by HPW
Thu Sep 08, 2011 6:53 pm
Forum: newLISP in the real world
Topic: Testing callback from newlisp.dll to newlisp.exe
Replies: 5
Views: 5385

Re: Testing callback from newlisp.dll to newlisp.exe

... (The info about the expired cell-address should also go into the doc) Now all works and make sense. With the help of the DLL-flavour (newlisp.dll) pdScript is able to do the callbacks into the exe. Because pdScript is not able to create a function dynamicly on a memory address. But through the ...
by HPW
Wed Sep 07, 2011 10:25 am
Forum: newLISP in the real world
Topic: Handling out param in delphi DLL
Replies: 8
Views: 12400

Re: Handling out param in delphi DLL

Hello, After solving the problem it is now possible to call newLISP.exe with a lsp-file and create a GUI on the fly with pdScript. Together with Peter's run.exe tool there is even no cmd-window. And with pdScript's /PDST param you have control if the GUI should have a visible taskbar ...
by beprecision
Tue Sep 06, 2011 10:09 pm
Forum: newLISP in the real world
Topic: Handling out param in delphi DLL
Replies: 8
Views: 12400

Re: Handling out param in delphi DLL

Hi! In pdScript DLL interface, there are not used Delphi strings, but buffers. PAnsiChar (and PChar, PWideChar, etc.) is declared in Delphi to mimic the C convention and also to allow transferring data between non Delphi application ...
by Lutz
Tue Sep 06, 2011 8:46 pm
Forum: newLISP in the real world
Topic: Handling out param in delphi DLL
Replies: 8
Views: 12400

Re: Handling out param in delphi DLL

... ; use unpack to get the whole buffer (unpack "s9" buff) → ("ABC\000\000\000DEF") Perhaps this could offer another hint what is going on in that pdScript code. ps: the above example will also be put in the manual.
by HPW
Mon Sep 05, 2011 11:49 am
Forum: newLISP in the real world
Topic: Handling out param in delphi DLL
Replies: 8
Views: 12400

Handling out param in delphi DLL

Hello, For the pdScript-DLL calling from newLISP.exe I ran into problem to get back a delphi PAnsiChar out buffer. delphi-definition: function pdScriptInlineExLibA(ScriptCode:PAnsiChar; ScriptDFM: PAnsiChar; Params:PAnsiChar; SyntaxCheckOnly:Bool; ...
by HPW
Sun Sep 04, 2011 9:39 am
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Maybe the problem is in the function-declaration with keyword 'out' before pStdOut: PAnsiChar

Code: Select all

TYPE
    TpdScriptInlineExLibFuncA = function(ScriptCode:PAnsiChar; ScriptDFM: PAnsiChar; Params:PAnsiChar; SyntaxCheckOnly:Bool; out pStdOut: PAnsiChar; LibraryPath:PAnsiChar): Integer; stdcall;
by HPW
Sun Sep 04, 2011 9:19 am
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

I made another test with newlisp.exe calling a pdScript dialog. file newLispExeForm.bat (You should set the path to your own pathes) "C:\Programme\newlisp\newlisp.exe" "C:\Dokumente und Einstellungen\wickh\Eigene Dateien\Pascal scripts\newLispExeForm.lsp" ...
by HPW
Sat Aug 27, 2011 3:02 pm
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Hello,

I ported the newLISP 'tower of hanoi' demo to the pdScript enviroment (to the latest developer snapshot) to show real graphics by callback-functions.

http://www.be-precision.com/forum/index.php?topic=191

Regards

Hans-Peter
by HPW
Fri Aug 26, 2011 7:25 pm
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

... http://www.neosoftware.com/forum/viewtopic.php?t=18808<br I build a neobook wrapper plugin around pdScript's new DLL version Initial Release 1.0 Actionlist: hpwPdScriptLoadDLL=Load the pdScript DLL from either a given path or a system path. hpwPdScriptCall=Call ...
by HPW
Thu Aug 25, 2011 11:24 am
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

Re: pdScript with newLISP.dll

Hello,

I ported the newLISP turtle demo to the pdScript enviroment (to the latest developer snapshot) to show real graphics by callback-functions.

http://www.be-precision.com/forum/index.php?topic=181

For an interpreter it still runs quite fast.

Regards

Hans-Peter
by HPW
Mon Aug 08, 2011 7:22 am
Forum: newLISP in the real world
Topic: pdScript with newLISP.dll
Replies: 9
Views: 23466

pdScript with newLISP.dll

Hello, I recently ran across pdScript which is a scripting interpreter build on top of remobjects pascalscript. It allows to do GUI scripting under windows. Since it is light-weight itself, it fits good to newLISP. I contacted the pdScript ...