Delphi – What is the standard method for communicating with Win32 executable file?

I have some delphi code. Given a list of items, calculate the total price and consider any special transactions that may apply.

This code uses another A language rewrite is very important.

How to set it up to communicate with a website running on the same server? Every time a user updates the shopping cart, the website needs to ask for the price. There may be multiple concurrent requests.

The delphi code needs to maintain a memory list of special transactions and refresh it from the database regularly. So it can’t simply Every execution or any simple execution.

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

It sounds like the win32 application is already running on the box as a Windows service. Therefore, if you cannot modify the service, you It will have to handle whatever way it wants to accept and respond to the request. This can be through sockets or some higher-level communication protocols such as web services.

You can do several things . Write an assembly that knows how to communicate with the service and make your website use that assembly. Alternatively, you can build a populated service that knows how to communicate with the old service, but through higher-level protocols such as web services Open communication. Either way, concurrency, threading and communication issues can be hidden behind an easy-to-call interface, but the latter will make it easier for everyone to communicate with the service.

< /p>

I have some delphi code, given a list of items, calculate the total price, considering any special transactions that may apply.

This code is rewritten in another language Is very important.

How to set it up to communicate with websites running on the same server? Every time a user updates the shopping cart, the website needs to ask for the price. There may be multiple concurrent requests.

The delphi code needs to maintain a memory list of special transactions and refresh it from the database regularly. So it can’t simply Every execution or any simple execution.

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

It sounds like the win32 application is already running on the box as a Windows service. Therefore, if you cannot modify the service, you will have to deal with whatever it wants to accept and Respond to requests. This can be through sockets or some higher-level communication protocols, such as web services.

You can do several things. Write one that knows how to communicate with the service and enable you The website uses the assembly of the assembly. Alternatively, you can build a populated service that knows how to communicate with the old service, but communicates publicly through higher-level protocols such as web services. Either way, you can concurrency, Threading and communication issues are hidden behind the easy-to-call interface, but the latter will make it easier for everyone to communicate with the service.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3150 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.