compile issue BCB2009 on Win 7 64 bit

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

compile issue BCB2009 on Win 7 64 bit

Post by sandy771 » Fri 12 Oct 2012 16:23

I am working on some old code and have installed UniDac 3.70 on BCB2009 on a 64 bit windows 7 box.

When i compile I get the following error (and a load more similar)

[BCC32 Error] Litecalluni.hpp(182): E2040 Declaration terminated incorrectly

The line in question is - static const ShortInt SQLITE_OK = 0x0;

Any ideas ?

Cheers

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: compile issue BCB2009 on Win 7 64 bit

Post by AlexP » Mon 15 Oct 2012 10:15

Hello,

Please try installing UniDAC with the force option enabled.

unidac37d12pro.exe /force

sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

Re: compile issue BCB2009 on Win 7 64 bit

Post by sandy771 » Mon 15 Oct 2012 10:24

Thanks but dropping back to 3.50 did the trick

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: compile issue BCB2009 on Win 7 64 bit

Post by AlexP » Mon 15 Oct 2012 12:35

hello,

It is likely, that you have *.hpp, *.obj, etc. files left of the old version of UniDAC, and they are taken up during compilation with the new version.
Delete all of our old files and re-install the new UniDAC, this must solve the problem.

sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

Re: compile issue BCB2009 on Win 7 64 bit

Post by sandy771 » Mon 15 Oct 2012 12:40

Sorry that wasn't the case - this was a fresh install of Builder/unidac etc on a new machine

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: compile issue BCB2009 on Win 7 64 bit

Post by AlexP » Tue 16 Oct 2012 11:49

hello,

We couldn't reproduce the issue. The problem might arise because of the conflict between our components and other third-party components installed.
Please, try to reproduce the problem on a 'clean' IDE, with our components only.

Post Reply