Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Best way to connect(notify) to an existing Delphi desktop application that will now be deployed on a server

Posted on 2008-10-15
1
400 Views
Last Modified: 2013-11-23
I have an application that connects to an SQL server, gets articles and associated data then creates HTML files. Now I want to use this app on windows server 2008. I am using an ASP.NET application to write and update articles to the SQL server.
Any ideas on how to notify the Desktop app that a new article has been added or updated on the sql server?
Just setting one flag is enough like updateavailable:=true . How would I communicate the state of this flag to the delphi app. TCP? CGI?
thanks
0
Comment
Question by:Alavna
1 Comment
 
LVL 1

Accepted Solution

by:
chgtj001 earned 500 total points
ID: 22728234
The simplest way is to create a timer in your delphi application, and query the flag in the database every a few minutes. The limitation is that it may delay a few minutes when an update is commited.

Another solution is using Sql server notication service. You can write a .net client if you are using delphi.net.  Here is a tutorial for writing a c# client.
http://9tutorials.com/2007/05/10/implementing-sql-server-2005-query-notifications-in-c-windows-application.html
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question