What is the standard method for a website to link to the win32 executable?

I have some delphi code which, given the list of elements, calculates the total cost, taking into account any special deals that may apply.

This code is nontrivial for rewriting in another language.

How do I configure it to communicate with a site running on the same server? A website will need to ask for a price each time a user updates their shopping cart. It is possible that there will be several simultaneous requests.

Delphi code must maintain a list of special offers in memory, periodically updated from the database. Therefore, it cannot simply be executed every time or something simple.

I don’t know which website it is written on, or even which http server it is running on, so I'm just looking for ideas or standard methods.

+3
source share
7 answers

It looks like the win32 application is already running as a windows service on the box. Thus, if you cannot change this service, you will have to deal with what it wants to accept and answer requests. This can be through sockets or a higher layer exchange protocol, such as web services.

. , , . , , , , -. concurrency, , .

+3

delphi, XML- XML TCP- ( HTTP), - . , , /, .

- Windows, delphi DLL, XML HTML, URL- POST-. DLL Delphi - .

+3

, - . , , . , WebBroker ISAPI SOAP -. , API, , , - -.

, IIS, COM/Automation, (ASP). ASP.NET, PRISM .

+2

. Windows, RemObjects Sdk. , .

RemObjects , , . RemObjects, . langugae .

isapi dll IIS, . , - . , Windows.

. : About.Com Dr Bob.

+2

Windows. -, Windows. -, - , Delphi. , -, , , - - XML.

+1

- .

:

  • - " " , , Delphi

  • ( / ). Delphi : , , " " " -

  • - ( , ), HTML- , , - Ajax

. - Dopplr:

http://de.slideshare.net/carsonified/dopplr-its-made-of-messages-matt-biddulph-presentation

made of messages by matt biddulph

+1

( ), - - Windows :

, , /auth (yuck!) RPC, , DCOM, , WCF - Windows, Delphi?
0

Source: https://habr.com/ru/post/1708287/


All Articles