Giter Site home page Giter Site logo

delphiduktape's People

Contributors

erikvanbilsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

delphiduktape's Issues

GetSystemTimePreciseAsFileTime win32 API is not available on Win7?

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?

Issue trying to use this with Lazarus

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!

duk_compile

Hi, can we add duk_compile funtion into the wrapper? Check the js code before run it.

Running in Thread

Hello, I want to use this process in thread, but for native methods, data parameter is required. How can I do it.

mac osx 10.13 build error. please fix 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.