Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread bds 2006 c++ error
Tue, Jun 26 2007 6:06 AMPermanent Link

"Mirco M."
Hi,
i have installed elevatedb 1.04 in c++ personality BDS2006.
Build test application with main form and EDB engine, session and database
only.
during compile i receive some error like:
[C++ Error] Edbdbmgr.hpp(142): E2034 Cannot convert 'void *' to
'TStringDynArray'
[C++ Error] Edbdbmgr.hpp(142): E2151 Type mismatch in default value for
parameter 'TableNames'
etc...

any suggestion?

thanks

Tue, Jun 26 2007 11:06 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mirco,

<< i have installed elevatedb 1.04 in c++ personality BDS2006.

Build test application with main form and EDB engine, session and database
only. during compile i receive some error like:
[C++ Error] Edbdbmgr.hpp(142): E2034 Cannot convert 'void *' to
'TStringDynArray'
[C++ Error] Edbdbmgr.hpp(142): E2151 Type mismatch in default value for
parameter 'TableNames' >>

I'm going to have to do some more research on this one to find out if there
is a suitable workaround for passing a nil pointer as a default parameter
value for a dynamic array.  Obviously, the BDS code generation for
C++Builder is not working correctly in this case.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jun 27 2007 3:15 AMPermanent Link

"M. Malagoli"
Ok tanks
but am i the only elevateDB user in c++ ?
How many time to solve this issue?
Is best practice begin with dbisam and then migrate to elevatedb?

Mirco


"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> ha scritto nel
messaggio news:09FD53D9-CFD1-4608-8FCF-EC27CF6DFFC6@news.elevatesoft.com...
> Mirco,
>
> << i have installed elevatedb 1.04 in c++ personality BDS2006.
>
> Build test application with main form and EDB engine, session and database
> only. during compile i receive some error like:
> [C++ Error] Edbdbmgr.hpp(142): E2034 Cannot convert 'void *' to
> 'TStringDynArray'
> [C++ Error] Edbdbmgr.hpp(142): E2151 Type mismatch in default value for
> parameter 'TableNames' >>
>
> I'm going to have to do some more research on this one to find out if
> there is a suitable workaround for passing a nil pointer as a default
> parameter value for a dynamic array.  Obviously, the BDS code generation
> for C++Builder is not working correctly in this case.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>

Thu, Jun 28 2007 12:15 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mirco,

<< but am i the only elevateDB user in c++ ? >>

I really couldn't say.   We have quite a few EDB customers already, and I
don't know what each is using for a compiler since we don't track that
information.

<< How many time to solve this issue? >>

Well, this is a CodeGear issue, not ours - the C++ code generation should
not generate invalid C++ code, period.   All I'm trying to do is come up
with a workaround for you.  You'll have to apply this workaround manually
every time you install a new version of EDB until CodeGear fixes the issue
or we find out that there's no way to express what we're doing in C++.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image