Error Installing COM component when ODAC used

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MikeDown
Posts: 3
Joined: Tue 09 Nov 2004 10:00

Error Installing COM component when ODAC used

Post by MikeDown » Thu 09 Jun 2005 15:20

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

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 10 Jun 2005 09:03

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.

MikeDown
Posts: 3
Joined: Tue 09 Nov 2004 10:00

Post by MikeDown » Mon 13 Jun 2005 12:59

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

MikeDown
Posts: 3
Joined: Tue 09 Nov 2004 10:00

Post by MikeDown » Thu 23 Jun 2005 14:31

Has there been any progress on identifying the cause of my problem ?

Thanks,
Mike

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 24 Jun 2005 10:03

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.

Post Reply