I started writing this email (in quotes) and i saw that results was illogical form record structure POV
"Hi, i do not understand what happened this is memory dump from record $CC $BB $AA $11 $00 $00 $DD $33 $00 $00 $00 $00 $DD $CC $BB $22 $00 $00 $00 $00 $DD $CC $BB $22 $00 $00 $00 $00 $00 $00 $00 $00 but iValue=296401868 {$11AABBCC} iValueNull=3711107072 {$DD330000} " And you never guss from where all problems come from I should see that before when after some includes to uses clause i must changed line GenRowsResultSet(Result).outMessage.resultNull := false; to GenRowsResultSet(Result).outMessage.resultNull := 0; and now i see where the problem with record alignments was in some unit was type WordBool = DWord !!! this was some very old tool when i remove it then back WordBool became 2 bytes - and all work now ok I can now very fast finish this work :) regards, Karol Bieniaszewski ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel