Error : can't format message

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Error : can't format message

Post by calou » Fri 12 Mar 2010 09:59

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

Falcon
Devart Team
Posts: 19
Joined: Tue 02 Feb 2010 10:40

Post by Falcon » Mon 15 Mar 2010 09:17

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.

calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Post by calou » Mon 15 Mar 2010 21:26

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

Falcon
Devart Team
Posts: 19
Joined: Tue 02 Feb 2010 10:40

Post by Falcon » Tue 16 Mar 2010 12:46

This message is generated not by IBDAC but by Firebird and this behaviour is specific to Firebird.

calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Post by calou » Tue 16 Mar 2010 17:21

Thanks for the answer

Post Reply