 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Kathleen Beaumont Guest
|
Posted: Sat May 12, 2007 10:49 pm Post subject: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
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
|
Posted: Sun May 13, 2007 1:20 pm Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
| 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
|
Posted: Sun May 13, 2007 10:05 pm Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
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
|
Posted: Mon May 14, 2007 1:47 am Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
| 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
|
Posted: Mon May 14, 2007 9:56 pm Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
| 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
|
Posted: Tue May 15, 2007 2:03 am Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
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
|
Posted: Wed May 16, 2007 1:08 am Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
| 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
|
Posted: Wed May 16, 2007 2:31 am Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
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
|
Posted: Wed May 16, 2007 2:39 am Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
| 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
|
Posted: Wed May 16, 2007 8:33 pm Post subject: Re: Desperately seeking BCB6->BDS2006 Update Primer |
|
|
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 |
|
 |
|
|
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
|
|