🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.borland-delphi
Article #445

Process is not terminated

#445
From: Jens Hartmann
Date: Thu, 25 Aug 2005 19:52
21 lines
2138 bytes
Hi,

I have the following problem:

I wrote a programm which connects to a MySQL-Database. I use "libmySQL.dll" 
and "mysql.pas" which are recommended on mysql.com.
To connect to the Database I use mysql_real_connect(). To terminate the 
connection I use mysql_close().
Everytime I close the program after I have connected to the database, the 
programm-prozess is not terminated. If I close the program without having 
connected to the database there is no problem.

How can I terminate the process or what have I to do in order the let the 
prozess terminate by itself?

I use Delphi 5, MySQL 4.0.13., the unit "mysql.pas" and the required 
"libmySQL.dll". My OS is WinXP SP2.

Thanks in advance!

Greets Jens 
Technical Details
Message-ID: <del7gq$59f$1@online.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!newsfeed.stueberl.de!blackbush.cw.net!cw.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 105ac8,2874b9b6d7ee5a5e,start
X-Google-Thread: fd817,2874b9b6d7ee5a5e,start
X-Google-Thread: f973d,2874b9b6d7ee5a5e,start
X-Google-Thread: 10de66,2874b9b6d7ee5a5e,start
X-Google-Thread: ffff5,2874b9b6d7ee5a5e,start
X-Google-Attributes: gid105ac8,gidfd817,gidf973d,gid10de66,gidffff5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!newsfeed.stueberl.de!blackbush.cw.net!cw.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail
From: "Jens Hartmann" <jens_hartmann@yahoo.de>
Newsgroups: alt.comp.borland-delphi,alt.comp.lang.borland-delphi,alt.lang.delphi,borland.public.delphi.database.sqlservers,comp.lang.pascal.delphi.databases
Subject: Process is not terminated
Date: Thu, 25 Aug 2005 21:52:22 +0200
Organization: 1&1 Internet AG
Lines: 23
Message-ID: <del7gq$59f$1@online.de>
NNTP-Posting-Host: p548f9781.dip0.t-ipconnect.de
X-Trace: online.de 1124999514 5423 84.143.151.129 (25 Aug 2005 19:51:54 GMT)
X-Complaints-To: abuse@einsundeins.com
NNTP-Posting-Date: Thu, 25 Aug 2005 19:51:54 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670