Calling a dll in Java

Asked

Viewed 734 times

1

I wonder if there is a way to communicate with a dll using Avascript or Angularjs ?

  • Angularjs is Javascript. Do you want to access the DLL in a client application or are talking about Nodejs?

  • a client application

  • 1

    So it’s impossible. Have you ever imagined that it would be that any Javascript code could have access to the machine of those who visit the page?

  • even if it is a dll created by min where it would be consumed by an application in Delphi.

  • If it will be consumed by an application in Delphi have no reason to try to access it by JS, right?

  • we are migrating an application in Delphi to the web and we wanted from this web application to call an executable in the client’s machine. and this was an idea that we had more as we do not have much knowledge with dll and Avascript , we do not know if it is possible.

  • Is not possible.

  • As Matheus has already commented, this is impossible, but you can try calling the backend, or even trying the solution that is on this link https://stackoverflow.com/questions/11517319/call-dll-methods-from-javascript

  • 1

    Something I always say. People need to seem to want to do everything for the web. Web is a solution for some things, not for everything.

  • Bigown thanks for nothing.

Show 5 more comments

1 answer

0


Aderbal, Javascript is a language of Frontend and does not interact with DLL s, the DLL’s can be accessed by the server Backend, process the information and some way pass to Frontend the desired.
That reading can help you, it helps you understand the concepts of language and what is the purpose of each.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.