Load DLL with JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Load DLL with JavaScript

Hi! :) I'm using a game engine that uses JS as it's programming language. It lacks of good feature, so i think i could extend the engine's capability by load external DLL functions. One question, "how to do that?" xD Any help would be greatly appreciated. Thanks in advance! :D

12th Nov 2019, 10:48 PM
Muhammad Tristan Fahdlan Arrad Biyantoro
Muhammad Tristan Fahdlan Arrad Biyantoro - avatar
1 Answer
0
don’t think you can do this in a proper way as this would be a security concern. however, you can talk to an engine via a websocket or you can implement such function inside the engine (c++ or c# depending on the engine) and expose the function so it’s callable from JS
18th Nov 2019, 1:09 AM
Dev Project
Dev Project - avatar