13.02.2014 22:02, Vlad Khorsun wrote:This error code (isc_bad_epb_form) was intorduced in FB 2.5 and it means you are used older fbclient.dll with your application when obtained this error from Firebrid server. Also it means that firebird.msg corresponding to your old client library also have no text for this error and even if it would be found (as you wish here) it give you nothing in this case.At first, this message was produced by 2.5 client.
You are wrong, as usual. I've attached a tiny project (written not using "alien language" - special for you) and you can try by yourself:
- compile fberrors.dpr (i've used old good D6) - put into folder with fberrors.exe fbclient.dll from Firebird 2.1 and rename it into fbclient.21.dll - put into folder with fberrors.exe fbclient.dll from Firebird 2.5 and rename it into fbclient.25.dll - make sure you have no fbclient.dll in the PATH - go to console and run fberrors.exe 3 times as shown below:1. D:\Borland\Delphi6\Projects\FBClient>fberrors.exe 335544973
Library "fbclient.dll" failed to load: The specified module could not be found 2. D:\Borland\Delphi6\Projects\FBClient>fberrors.exe 335544973 fbclient.21.dll Loaded library: D:\Borland\Delphi6\Projects\FBClient\fbclient.21.dll unknown ISC error 335544973 can't format message 13:1 -- message file D:\Borland\Delphi6\Projects\firebird.msg not found 3. D:\Borland\Delphi6\Projects\FBClient>fberrors.exe 335544973 fbclient.25.dll Loaded library: D:\Borland\Delphi6\Projects\FBClient\fbclient.25.dll Unrecognized events block can't format message 13:1 -- message file D:\Borland\Delphi6\Projects\firebird.msg not found And show us what you see
At second, the message become completely readable after copying firebird.msg _by hand_ because instclient didn't do that automatically.
You not only used old fbclient, you also put newer firebird.msg - congratulations !
At last, thanks, I already know how to decode such cryptic messages. The ticket says exactly "WTF I have to decrypt it from sources".
Are you still so proud by yourself ?
Regards, VladPS For those who have no Delphi or who not understand Pascal\ISC API - attached project does the following:
- load library by second argument (or just "fbclient.dll" if second argument is omitted) - prints full name with path of just loaded library - create status-vector with single error code (by first argument) - interpret error code and print corresponding text message - extarct SQL code and print corresponding text message
fberrors.dpr
Description: Binary data
------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel