grijjy / delphiduktape Goto Github PK
View Code? Open in Web Editor NEWDuktape bindings for Delphi
License: Other
Duktape bindings for Delphi
License: Other
First, congrats for the new amazing project!
And here is an issue report:
I've successfully compiled the DuktapeHighLevel
demo, upon starting up, it gives the `Cannot locate GetSystemTimePreciseAsFileTime in kerner.dll' error.
According to MSDN, GetSystemTimePreciseAsFileTime needs at least Windows 8?
So i've downloaded the source right now (March 25, 2021), created a new Program (windowed) and put Duktape.Api.pas
, Duktape.Glue.pas
, Duktape.pas
and Grijjy.inc
into my project folder, alongside the .dlls on Bin
.
I just added the includes on uses
, my code for Unit1.pas is exactly this but when i try to compile and run the project i get this error:
Duktape.pas(10,3) Fatal: Unable to find System.SysUtils used by Duktape.
(the message here can sounds weird because my Lazarus is set to Portuguese and i tried to translate the error to English for better understanding).
Going to Duktape.pas
and changing System.SysUtils
to just SysUtils
supress this warning, but trying to run again i got this other error:
Duktape.pas(28,5) Fatal: Syntax error, ":" expected but "identifier _DATA" found
So, what i'm doing wrong here? Or the project is just compatible with Delphi?
Thanks in advance!
it is possible to register delphi functions and call them from JavaScript in a TWebBrowser app?
Thanks
Hi, can we add duk_compile funtion into the wrapper? Check the js code before run it.
Hello, I want to use this process in thread, but for native methods, data parameter is required. How can I do it.
by duktape last version(v2.3.0), run ./BuildMacOS.sh,
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:
"___bzero", referenced from:
_duk_hbuffer_resize in duktape-5409d3.o
_duk_bi_json_stringify_helper in duktape-5409d3.o
_duk__do_compile in duktape-5409d3.o
_duk_create_heap in duktape-5409d3.o
_duk_push_thread_raw in duktape-5409d3.o
_duk_hthread_init_stacks in duktape-5409d3.o
_duk_hbuffer_alloc in duktape-5409d3.o
...
"___fpclassifyd", referenced from:
_duk_hobject_enumerator_next in duktape-5409d3.o
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.