55143681 Posted August 18, 2019 Share Posted August 18, 2019 How to call a dll program in the browser, and get the result? Quote Link to comment Share on other sites More sharing options...
55143681 Posted August 18, 2019 Author Share Posted August 18, 2019 3 minutes ago, 55143681 said: How to call a dll program in the browser, and get the result? Such as call a card Reader to write something and get the function result.. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 18, 2019 Share Posted August 18, 2019 11 minutes ago, 55143681 said: Such as call a card Reader to write something and get the function result.. Can you please give more detail? Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted August 19, 2019 Share Posted August 19, 2019 I think, the good question is : How to use external dll (windows dll, not unigui) in an Unigui program ? • in this case use it as usually you do it in pascal code. Quote Link to comment Share on other sites More sharing options...
55143681 Posted August 25, 2019 Author Share Posted August 25, 2019 On 8/19/2019 at 4:19 PM, Abaksoft said: I think, the good question is : How to use external dll (windows dll, not unigui) in an Unigui program ? • in this case use it as usually you do it in pascal code. You are right! I have an external dll program developed by c++\delphi\vb...., and the program can do something for me ,such as read a card、copy a file、print a file for me。。。 I want to call the extern dll program in my unigui project, How to do that? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 25, 2019 Share Posted August 25, 2019 7 hours ago, 55143681 said: and the program can do something for me ,such as read a card、copy a file、print a file for me。。。 Hi, Perhaps the problem here is not how to call the dll in the project. It is important to note here that you are developing a web application that works through a web browser. If your library should access the client machine “directly”, then I think you cannot use your library ... Quote Link to comment Share on other sites More sharing options...
55143681 Posted August 27, 2019 Author Share Posted August 27, 2019 On 8/26/2019 at 12:26 AM, Sherzod said: Hi, Perhaps the problem here is not how to call the dll in the project. It is important to note here that you are developing a web application that works through a web browser. If your library should access the client machine “directly”, then I think you cannot use your library ... I see. Quote Link to comment Share on other sites More sharing options...
55143681 Posted August 27, 2019 Author Share Posted August 27, 2019 On 8/26/2019 at 12:26 AM, Sherzod said: Hi, Perhaps the problem here is not how to call the dll in the project. It is important to note here that you are developing a web application that works through a web browser. If your library should access the client machine “directly”, then I think you cannot use your library ... Can You finish that through ClientEvents or call JavaScript? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 27, 2019 Share Posted August 27, 2019 10 minutes ago, 55143681 said: Can You finish that through ClientEvents or call JavaScript? What exactly? Quote Link to comment Share on other sites More sharing options...
55143681 Posted August 27, 2019 Author Share Posted August 27, 2019 10 minutes ago, Sherzod said: What exactly? ??? I do not know how to do that. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 27, 2019 Administrators Share Posted August 27, 2019 Hi, There is no way to call a local dll from a browser. The only exception is to use an ActiveX with IE. However, ActiveX is a deprecated technology. Other solution is to run an local EXE app and call "http://127.0.0.1" from browser to get data from that app locally. Quote Link to comment Share on other sites More sharing options...
billyChou Posted August 27, 2019 Share Posted August 27, 2019 if DLL is function, no visiable Component , it 's can use , my sample EASendMail SMTP Component https://www.emailarchitect.net/easendmail use that in unigui , can browse in chrome . Quote Link to comment Share on other sites More sharing options...
billyChou Posted August 27, 2019 Share Posted August 27, 2019 fix ,use in server side, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.