Article View: borland.public.interbase.opensource
Article #209IB Server window name
From: Gheorghe
Date: Mon, 28 Nov 2005 11:22
Date: Mon, 28 Nov 2005 11:22
21 lines
1524 bytes
1524 bytes
Hi,
I start IBServer as an application, and, upon starting up, use this code for
testing if server is already running:
AnsiString s = "full path to ibserver.exe";
HWND hPrevApp = FindWindow("IB_SERVER", NULL);
if(!hPrevApp)
{
// start ibserver
}
Everithing works fine, except that some customers who use Win Terminal
Services report that code is trying to start IB even if it is already
started. They have to shut down ibserver.exe from Task Manager and then it
is OK.
It seems that on Terminal Services, the window name is not "IB_SERVER" but
smth. else.
Any ideas?
Technical Details
Message-ID:
<438ae817@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.alt.net!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 106772,fabcd92d373a9084,start X-Google-Attributes: gid106772,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Gheorghe" <gmusca@dnt.ro> Newsgroups: borland.public.interbase.opensource Subject: IB Server window name Date: Mon, 28 Nov 2005 13:22:30 +0200 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.224 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.224 NNTP-Posting-Host: 82.76.22.85 Message-ID: <438ae817@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1133176855 82.76.22.85 (28 Nov 2005 03:20:55 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.alt.net!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail