Strange GPF in

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 5
Joined: Sun 06 Feb 2005 16:14

Strange GPF in

Post by rgillingham » Mon 22 Jan 2007 16:14


I'm using the latest SDAC with the kbmMW middleware.

I have a simple stored procedure that I am trying to call.

If I call this using SDAC components directly it executes fine. If I try this using kbmMW it fails. Now - don't just push me over to C4D because if I put a TMSSQLMonitor component on the same data module as the TMSConnection then the stored procedure will execute correctly.

The line it fails on is the Check below

procedure TOLEDBConnection.Commit;
if FITransactionLocal nil then
Check(ITransaction(FITransactionLocal).Commit(False{WAR may be troubles with server cursors}, XACTTC_SYNC, 0));

With an exception of ntdll.RtlConvertUlongToInteger

Thanks in advance


Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Tue 23 Jan 2007 09:43

If you have a multithreaded application try to reproduce the problem on a single threaded application.
Try to reproduce the problem without kbmMW components.
As we can see, you are user of SDAC Professional. Try to install SDAC Standard version.
Specify exact version of Delphi or C++ Builder you use.
Other users never informed us about similar problems.

Post Reply