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 

Converting from BCB3 to BCB5

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





PostPosted: Wed Nov 12, 2003 6:44 pm    Post subject: Converting from BCB3 to BCB5 Reply with quote



Hi,

I tried to convert an old BCB3 project to BCB5. After changing a few
minor things I got the program to compile but it won't link.

It has the following error messages:

[Linker Error] Unresolved external '_vsnprintf' referenced from
C:PROGRAM FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|dstring

[Linker Error] Unresolved external 'Sysinit::VclInit(bool, bool, int,
bool)' referenced from C:PROGRAM
FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|vclinit

Has anyone else had problems like this? How do I go about getting the
program to link prooperly?

Thanks,
Greg
Back to top
Chris Uzdavinis (TeamB)
Guest





PostPosted: Wed Nov 12, 2003 8:08 pm    Post subject: Re: Converting from BCB3 to BCB5 Reply with quote



[email]santa (AT) northpole (DOT) com[/email] (Greg) writes:

Quote:
Hi,

I tried to convert an old BCB3 project to BCB5. After changing a few
minor things I got the program to compile but it won't link.

It has the following error messages:

[Linker Error] Unresolved external '_vsnprintf' referenced from
C:PROGRAM FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|dstring

[Linker Error] Unresolved external 'Sysinit::VclInit(bool, bool, int,
bool)' referenced from C:PROGRAM
FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|vclinit

Has anyone else had problems like this? How do I go about getting the
program to link prooperly?

Are you sure you're linking BCB5's libraries and not BCB3's?

--
Chris (TeamB);

Back to top
Colin Maharaj
Guest





PostPosted: Wed Nov 12, 2003 9:57 pm    Post subject: Re: Converting from BCB3 to BCB5 Reply with quote



Quote:

Are you sure you're linking BCB5's libraries and not BCB3's?


This might be possible because the cached precompiled headers file may
be in an absolute path
and this gets absorbed by the BCB5 project link environment. (to use
this old link file that is).

Back to top
Jonathan Arnold
Guest





PostPosted: Thu Nov 13, 2003 1:41 pm    Post subject: Re: Converting from BCB3 to BCB5 Reply with quote

Greg wrote:

Quote:
Hi,

I tried to convert an old BCB3 project to BCB5. After changing a few
minor things I got the program to compile but it won't link.

Don't! It just never pays to "convert" a project from one version
to another. There's always problems with leftover libraries, etc.
Just start a new project, Add the various source files and save.
It will ask you what to call the Project.cpp - just call it what
the Project.cpp you added it from is called. BCB will figure it
out. You'll end up with 2 Project.cpp files in the Project Manager -
just delete it from there. Then build and go.

--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) 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.