Home > front end >  Have bosses know how to load the DLL file in js???????
Have bosses know how to load the DLL file in js???????

Time:09-26

As title, now need to use others write method in a DLL, the question is how to load the DLL in the Javascript file and call it? There are bosses know? Appreciate

CodePudding user response:

The back-end to call DLL files, normal web page can do
You can use ajax to send the request to the backend, let the back-end call DLL

CodePudding user response:

Is directly under load the DLL ie browser can use the activex, var o=new ActiveXObject (ProgID); Need to put this made ocx DLL component,

CodePudding user response:

reference 1st floor cn00439805 response:
backend to call DLL files, normal web page can do
You can use ajax to send the request to the backend, let the back-end call DLL

Is key to the front to use this method in a DLL file, send the request to the backend, front end use of this method?

CodePudding user response:

refer to the second floor xiaosailun response:
is directly under load the DLL ie browser can use the activex, var o=new ActiveXObject (ProgID); Need to put this made ocx DLL component,

This method only can use the IE browser? So a little limitation

CodePudding user response:

Yes the ie does not support activex but Google can also use the plugin, do not recommend to DLL in the web, it is better to think of some way to avoid, there is a plan is to encapsulate the DLL into a local HTTP service

CodePudding user response:

reference Anicca36 reply: 3/f
Quote: refer to 1st floor cn00439805 response:
backend to call DLL files, normal web page can do
You can use ajax to send the request to the backend, let the back-end call DLL

Is key to the front to use this method in a DLL file, send the request to the backend, front end use of this method?


The back-end can call the method, the results back to the front again can,
If you just want to call DLL method, such as DLL UI interaction, it can only be ocx controls, ie is special, or made into local program, rather than the web,

CodePudding user response:

reference 5 floor xiaosailun reply:
yes the ie does not support activex but Google can also use the plugin, do not recommend to DLL in the web, it is better to think of some way to avoid, there is a plan is to put the DLL encapsulation make a local HTTP service

Ok, thanks brother ~ ~ ~ ~ ~ ~

CodePudding user response:

refer to 6th floor cn00439805 response:
Quote: refer to the third floor Anicca36 response:

Quote: refer to 1st floor cn00439805 response:
backend to call DLL files, normal web page can do
You can use ajax to send the request to the backend, let the back-end call DLL

Is key to the front to use this method in a DLL file, send the request to the backend, front end use of this method?


The back-end can call the method, the results back to the front again can,
If you just want to call DLL method, such as DLL UI interaction, it can only be ocx controls, ie is special, or made into local program, rather than the web,

Well well, thanks for the advice of the elder brother, I think again how

CodePudding user response:

reference 5 floor xiaosailun reply:
yes the ie does not support activex but Google can also use the plugin, do not recommend to DLL in the web, it is better to think of some way to avoid, there is a plan is to put the DLL encapsulation make a local HTTP service

Eldest brother, can direct messages add a WeChat? You want to ask for advice

CodePudding user response:

references 9 f Anicca36 response:
Quote: refer to the fifth floor xiaosailun reply:
yes the ie does not support activex but Google can also use the plugin, do not recommend to DLL in the web, it is better to think of some way to avoid, there is a plan is to put the DLL encapsulation make a local HTTP service

Eldest brother, can direct messages add a WeChat? Want to consult with you
not direct messages you send a number to come out

CodePudding user response:

references to the tenth floor xiaosailun response:
Quote: references 9 f Anicca36 response:

Quote: refer to the 5 floor xiaosailun response:
yes the ie does not support activex but Google can also use the plugin, do not recommend to DLL in the web, it is better to think of some way to avoid, there is a plan is to put the DLL encapsulation make a local HTTP service

Eldest brother, can direct messages add a WeChat? Want to consult with you
not direct messages you send a number out

Eldest brother, I'll give you a direct messages, you see

CodePudding user response:

Excuse me not through the server, web page can call DLL file? You finally how to solve?
  • Related