🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13981

closing app when shutdown computer

#13981
From: Francesco
Date: Mon, 01 Sep 2003 15:59
11 lines
1421 bytes
Hi,

I created a simple application that is in the tray area and wait for data
from UDP port using NMUDP component, all works fine the only problem is
that, if i try to shutdown PC the shutdown process is blocked by this
program (it's like if windows is not able to kill this program) and the pc
doesn't switch off. How can I solve this problem i'd like or to kill program
or at least show a msg to close it manually, I trid to put msg in OnClose or
OnCloseQuery of the form but it doesn't work.

Thanks in advance...
Technical Details
Message-ID: <3f536ce7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,681b8ee2fe733ca8,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-01 09:04:09 PST
From: "Francesco" <.>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: closing app when shutdown computer
Date: Mon, 1 Sep 2003 17:59:18 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.172.212.72
Message-ID: <3f536ce7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062431975 217.172.212.72 (1 Sep 2003 08:59:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail