SetConsoleCtrlHandler called when accessing ODBC/OLEDB datasource
- From: "Francois Piette [ICS & Midware]" <francois.piette@xxxxxxxxxxx>
- Date: Tue, 19 Jul 2005 16:51:57 +0200
I have a console mode application which behave badly when accessing a DBF
file using a TAdoQuery. After hours of searching, I found that TAdoQuery
call SetConsoleCtrlHandler API function when accessing a DBF file for the
first time. Of course this call override my own handler and therefore the
application doesn't work as expected. This doesn't happend when querying an
Oracle database.
Any idea why SetConsoleCtrlHandler is called and how to avoid this ?
--
francois.piette@xxxxxxxxxxx
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
.
- Follow-Ups:
- Re: SetConsoleCtrlHandler called when accessing ODBC/OLEDB datasource
- From: Francois Piette [ICS & Midware]
- Re: SetConsoleCtrlHandler called when accessing ODBC/OLEDB datasource
- Prev by Date: Re: Access DB for Multi-user
- Next by Date: Preventing Duplicates in BeforePost event.
- Previous by thread: suppress message when cancelling connect
- Next by thread: Re: SetConsoleCtrlHandler called when accessing ODBC/OLEDB datasource
- Index(es):
Relevant Pages
|