BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Desperately seeking BCB6->BDS2006 Update Primer

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Kathleen Beaumont
Guest





PostPosted: Sat May 12, 2007 10:49 pm    Post subject: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote



I see plenty of messages in these newsgroups about code that builds and
runs under BCB[3|4|5|6] not attaining the same happy results under
BDS2006. Most of the time, one or more of the resident experts is able
to suggest a project setting that takes care of the problem. I am very
grateful to you people.

But I would also like to know how you came to be so knowledgeable. I
don't like to be so helpless, but the only project I have been able to
bring forward to BDS2006 is a DLL written in portable Standard C++. Oh,
yeah, and some demos from "Beginning OpenGL Game Programming".

What I don't understand about the effects of changing project options
from defaults would fill volumes. It isn't that I'm a newbie-- I have
been successfully building complex Win32 apps with C++ Builder (versions
3 and 6) for ten years. But I'll be hanged if I can figure out what I am
doing wrong when I try to bring my current VCL project forward.

What would probably help me the most is a roadmap-- something that shows
a screenshot of the project settings under BCB6, and then a "where to
find it in BDS2006" guide. (Yes, I really am this lame.)

Has anybody published an upgrade primer?

Thank you for your help.

Kathleen
Back to top
Palle Meinert
Guest





PostPosted: Sun May 13, 2007 1:20 pm    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote



Quote:
What would probably help me the most is a roadmap-- something that shows a
screenshot of the project settings under BCB6, and then a "where to find
it in BDS2006" guide. (Yes, I really am this lame.)

There is a find button (top right in the option dialog) which can help you
locate a specific option. Quite useful.

/Palle
Back to top
Kathleen Beaumont
Guest





PostPosted: Sun May 13, 2007 10:05 pm    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote



Palle Meinert wrote:
Quote:
There is a find button (top right in the option dialog) which can help you
locate a specific option. Quite useful.


Thank you, Palle. That button is useful. But...

I have a tiny test application that reproduces a problem I am having
with a large project. I prepared a version in BCB6, and then prepared it
again for BDS2006. It is a simple form with a button click event handler
that makes a call into a 3P library (Codebase by Sequiter) to open and
close a DBF table. It builds and runs, but the BDS version throws an
access violation on the very first line of code that interacts with
Codebase.

I also tried letting BDS upgrade the BCB app to BDS. Same result...
builds and runs, but throws the access violation.

I am comparing command lines between the two versions, and there are
differences: The BDS command line does not display -a8 (alignment) or -b
(treat enums as ints, which, by the bye, is explicitly required for
Codebase). My options PAGES in BDS show "8 byte data alignment", and
"Enums always integer sized".

Otherwise, and I say this with some hesitation, the command lines appear
to agree. This is not an easy comparison to make, because the options
are not in the same order between the two compilers.

Still desperate,

Kathleen
Back to top
Palle Meinert
Guest





PostPosted: Mon May 14, 2007 1:47 am    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

Quote:
I have a tiny test application that reproduces a problem I am having with
a large project. I prepared a version in BCB6, and then prepared it again
for BDS2006. It is a simple form with a button click event handler that
makes a call into a 3P library (Codebase by Sequiter) to open and close a
DBF table. It builds and runs, but the BDS version throws an access
violation on the very first line of code that interacts with Codebase.

I am no expert in options, nor Codebase. I just wonder if it is an dll where
you could create a new lib with implib?

/Palle
Back to top
danzer
Guest





PostPosted: Mon May 14, 2007 9:56 pm    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

Quote:

I have a tiny test application that reproduces a problem I am having
with a large project. I prepared a version in BCB6, and then prepared it
again for BDS2006. It is a simple form with a button click event handler
that makes a call into a 3P library (Codebase by Sequiter) to open and
close a DBF table. It builds and runs, but the BDS version throws an
access violation on the very first line of code that interacts with
Codebase.


Are you using the CodeBase components designed for BCB6 with BDS2006?
If you are, this will not work. The components must be rebuilt with
BDS2006.

Danzer
Back to top
Kathleen
Guest





PostPosted: Tue May 15, 2007 2:03 am    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

danzer wrote:
Quote:

I have a tiny test application that reproduces a problem I am having
with a large project. I prepared a version in BCB6, and then prepared
it again for BDS2006. It is a simple form with a button click event
handler that makes a call into a 3P library (Codebase by Sequiter) to
open and close a DBF table. It builds and runs, but the BDS version
throws an access violation on the very first line of code that
interacts with Codebase.


Are you using the CodeBase components designed for BCB6 with BDS2006? If
you are, this will not work. The components must be rebuilt with BDS2006.

Danzer

Hi Danzer,

No, I am not using the Codebase components. I am statically linking the
library of functions.

I am going to try rebuilding that library under BDS2006 to see if that
makes a difference. (I'm sure everybody wishes me luck just so I'll stop
posting messages about this!)

Thanks for your input,

Kathleen
Back to top
danzer
Guest





PostPosted: Wed May 16, 2007 1:08 am    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

Quote:

No, I am not using the Codebase components. I am statically linking the
library of functions.

I am going to try rebuilding that library under BDS2006 to see if that
makes a difference. (I'm sure everybody wishes me luck just so I'll stop
posting messages about this!)

Thanks for your input,

Kathleen

Have you tried using something like madExcept or EurekaLog with your
application to help track down the AV?

Danzer
Back to top
Kathleen
Guest





PostPosted: Wed May 16, 2007 2:31 am    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

danzer wrote:
Quote:
Have you tried using something like madExcept or EurekaLog with your
application to help track down the AV?

Danzer

I know what line of code is throwing the AV, and am working with the
vendor on it.

However, I am interested to know what madExcept and EurekaLog are. Will
Google for info about them, but if you have some special information, I
would be glad to know about it.

Thanks,
Kathleen
Back to top
Danzer
Guest





PostPosted: Wed May 16, 2007 2:39 am    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

Quote:
I know what line of code is throwing the AV, and am working with the
vendor on it.

However, I am interested to know what madExcept and EurekaLog are. Will
Google for info about them, but if you have some special information, I
would be glad to know about it.


Their respective websites give all of the information you need.

http://www.madexcept.com/
http://www.eurekalog.com/

I personally use EurekaLog.

Danzer
Back to top
Kathleen
Guest





PostPosted: Wed May 16, 2007 8:33 pm    Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer Reply with quote

Danzer wrote:
Quote:
I know what line of code is throwing the AV, and am working with the
vendor on it.

However, I am interested to know what madExcept and EurekaLog are.
Will Google for info about them, but if you have some special
information, I would be glad to know about it.


Their respective websites give all of the information you need.

http://www.madexcept.com/
http://www.eurekalog.com/

I personally use EurekaLog.

Danzer

Thanks, Danzer! I'll try to get the boss to buy a site license for
EurekaLog. (But if he can't, I'll at least get one for me.)

Kathleen
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.