Page 1 of 1

Error Installing COM component when ODAC used

Posted: Thu 09 Jun 2005 15:20
by MikeDown
Hi,

I have a strange problem when I use the 'COM Component Install Wizard' on a Win2k server box, to add a DLL I have created in Delphi 5 (an MTS Datamodule) on my development pc.

The wizard 'hangs' after selecting the DLL and doesn't complete the installation.

When I remove the ODAC code from the DLL, the COM Component installs and can be called without any problems.

When I install the component (build with ODAC code) onto a different Win2k server (that has had Delphi 6, but not ODAC installed), the COM component registers ok.

So I'm thinking that the server might be missing some delphi database access dlls/bpls ? (Midas.dll and StdVCL40.dll are both present in the System32 folder on the server).

Any help will be appreciated ...

Thanks,
Mike

Posted: Fri 10 Jun 2005 09:03
by Alex
We need more detailed information i.e. your ODAC version and complete sample to demonstrate your problem and script to create server objects. Please, send a message to our ODAC support e-mail address.

Posted: Mon 13 Jun 2005 12:59
by MikeDown
I'm using Delphi 5 and ODAC 5.0.
I've sent my source code and the DLL to your support email address.

Thanks,
Mike

Posted: Thu 23 Jun 2005 14:31
by MikeDown
Has there been any progress on identifying the cause of my problem ?

Thanks,
Mike

Posted: Fri 24 Jun 2005 10:03
by Alex
I reproduced your problem with COM installation, the reason of hang is your module BMWOra.pas and your implementation of "constructor TBMWOraSQLMonitor.Create(AOwner: TComponent);", I send to you fixed BMWOra.pas module; try to compile your dll with it. If your problem persists please notify us.