Page 1 of 1
compile issue BCB2009 on Win 7 64 bit
Posted: Fri 12 Oct 2012 16:23
by sandy771
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
Re: compile issue BCB2009 on Win 7 64 bit
Posted: Mon 15 Oct 2012 10:15
by AlexP
Hello,
Please try installing UniDAC with the force option enabled.
unidac37d12pro.exe /force
Re: compile issue BCB2009 on Win 7 64 bit
Posted: Mon 15 Oct 2012 10:24
by sandy771
Thanks but dropping back to 3.50 did the trick
Re: compile issue BCB2009 on Win 7 64 bit
Posted: Mon 15 Oct 2012 12:35
by AlexP
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.
Re: compile issue BCB2009 on Win 7 64 bit
Posted: Mon 15 Oct 2012 12:40
by sandy771
Sorry that wasn't the case - this was a fresh install of Builder/unidac etc on a new machine
Re: compile issue BCB2009 on Win 7 64 bit
Posted: Tue 16 Oct 2012 11:49
by AlexP
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.