🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #413

Re: Problem on converting BCB6 project to C++ builder 2006

#413
From: Craig Farrell
Date: Fri, 15 Dec 2006 20:32
21 lines
1908 bytes
Hi,
>     Building project has no problem. But when we are trying to execute 
> the .exe file. it reports many access violation problems.
>     Are there anything We should be careful, when we convert the old 
> project into new one?

I suggest creating a brand new project in BDS that is
similar to the one you are upgrading. Then go to Tools
| Options | Compiling and Running and turn ON "Show
command line" and look for obvious differences in the
switches and libs between the two projects.
Some ideas:
-make sure all .obj's and .lib's are being rebuilt by
deleting them. Don't depend on "Build All"  to do that,
e.g. you could have #pragma link's in there.
-Check the switches relating to things like data alignment,
size of enum's, etc.
-If you use STL look into that, are you getting the correct
one?

--Craig
Technical Details
Message-ID: <458305e4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45818ecb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,8150fd99ddda15ee
X-Google-Attributes: gid10529a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 15 Dec 2006 12:32:45 -0800
From: Craig Farrell <cNO_SPAM.please.farrell@insprise.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.upgrade
Subject: Re: Problem on converting BCB6 project to C++ builder 2006
References: <45818ecb$1@newsgroups.borland.com>
In-Reply-To: <45818ecb$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 10.143.18.254
Message-ID: <458305e4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166214628 10.143.18.254 (15 Dec 2006 12:30:28 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail