Page 1 of 1

ERROR when access to FB2.5 from COM-object

Posted: Sat 05 Nov 2011 12:06
by someguy
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);

Posted: Mon 07 Nov 2011 15:32
by AndreyZ
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.