Page 1 of 1

Error : can't format message

Posted: Fri 12 Mar 2010 09:59
by calou
Hello,

On an install of firebird 64 bits (FB 2.1) when i call this :
on E:EIBCError do ShowMessage(E.SQLErrorMsg)

I have the message :
can't format message 13:198 -- message file C:\Program Files (x86)\firebird.msg not found

On 32 bits there is no problem

Thanks for help

Regards

Posted: Mon 15 Mar 2010 09:17
by Falcon
Copy the InterBase.msg (or firebird.msg for Firebird) file to the folder where executable unit of your program looks for it ('.../program files (x86)/...'). File must have the same version as InterBase or Firebird. You can get it from the error message.

Posted: Mon 15 Mar 2010 21:26
by calou
Thanks for the answer.
I understand what you mean but why IBDAC looks for the firebird.msg in the folder "program files (x86)" whereas firebird is installed in "program files"
(on a 32 bit windows there is no problem).
I am looking for a solution to avoid to create a special folder on the server's customers

Thanks

Regards

Posted: Tue 16 Mar 2010 12:46
by Falcon
This message is generated not by IBDAC but by Firebird and this behaviour is specific to Firebird.

Posted: Tue 16 Mar 2010 17:21
by calou
Thanks for the answer