Page 1 of 1

6.6.3-stable and bug with ZStoredProc in Firebird 2.1

Posted: 03.12.2008, 07:05
by Galdarius
in DBeXpress, when i set my components to get the next generator value on firebird, the parameter options is this:

ParamType: ptOutput
Precision: 4
Size: 4

but in zStoredProc:

ParamType: ptResult
Precision: 0
Size: 0

work great before i close the application, and receive some error(visual studio runtime debugger shit).

i tried to change the parameters to be like the DBX, ptOutput, 4, 4, but the same thing happened.

i use delphi 2007 and this bug is not only in my computer, i saw it many times.

i know, i need to use zSequence, but it not work with DataSetProvider.

however, in the server application(n-tier) i'm using both access component DBX(only for Stored_Procs) and zeos. :(

Posted: 03.12.2008, 13:56
by mdaems
So... the actual code works, but there's some error when you close your application?
Like memory that isn't freed, some library that isn't closed, or something similar?

Mark

Posted: 03.12.2008, 17:11
by Galdarius
mdaems, first of all, congratulations 4 ur 1500 Posts!!! lol

i have no idea abt the error, cuz, the Visual Studio Just-in-time Debugger hide it.

i found this error in two different updates of delphi 2007, n 2 versions of Firebird 2.1.x (2 versions of x), 3 totaly diferent computers, in time and states of brazil differents.

problably, the bug is inside my blood :shock: