ERROR when access to FB2.5 from COM-object

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
someguy
Posts: 1
Joined: Sat 05 Nov 2011 11:39

ERROR when access to FB2.5 from COM-object

Post by someguy » Sat 05 Nov 2011 12:06

Hello!

My application have next structure - GUI Win32(BCB app) creates COM Object(VS app, EXE,external) that loads Dll(BCB module access to Database). When I try to connect to FB database I have error(exсeption) message box. When I use local COM object - All OK. Please help!

Here some source code:

IBCCon=new TIBCConnection(NULL);
IBCCon->Database=TS->DBFileName;
IBCCon->Server=TS->Host;
IBCCon->Password=TS->DBPass;
IBCCon->Username=TS->DBUser;
// next string executes with ERROR box
IBCInsSat=new TIBCStoredProc(NULL);

AndreyZ

Post by AndreyZ » Mon 07 Nov 2011 15:32

Hello,

I cannot reproduce the problem. Please specify the following:
- the exact error that occurs;
- the exact version of IBDAC. You can learn it from the About sheet of TIBCConnection Editor;
- the exact version of your IDE.
Also you can try creating a small sample that demonstrates this problem and send it to andreyz*devart*com. This way we will be able to help you faster.

Post Reply