Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


C++Builder 4 or 6 Pro Code in New C++Builder

C++Builder 4 or 6 Pro Code in New C++Builder

There is a great offer on the purchase of Delphi and C++Builder at the moment and I was curious to know if my code on the old ver. C++Builder 4 and 6 would be usable in the latest version of C++Builder?

Has anyone tried the conversion?

Any info is greatly appreciated.

RE: C++Builder 4 or 6 Pro Code in New C++Builder

The biggest change is going to be that the default string type in the older versions is AnsiString, but is UnicodeString in the new one. took me about 5-10 minutes to convert some of my older projects, but they were comparatively small too.  It is going to depend on if you have custom components that used AnsiString, and if you used AnsiString/Char * conversions a lot.

RE: C++Builder 4 or 6 Pro Code in New C++Builder

I used AnsiString alot. And sometimes just String.

Find and Replace would handle that change easily.

I used a lot of Char *str1[120] type code throught some of my projects.

Thanks for the info.

RE: C++Builder 4 or 6 Pro Code in New C++Builder

I agree with Prattarat, the change from AnsiString to UnicodeString is the biggest change/headache unless you've used third party libraries. You will also have to find a replacement or upgrade for those.

James P. Cottingham
I'm number 1,229!
I'm number 1,229!

RE: C++Builder 4 or 6 Pro Code in New C++Builder

Third party libraries.

Used the Preview Print that came with C++B - Quick Report, But have dropped it as it was a problem moving into XP.
Otherwise just straight C++B. and a few APIs for Empty and Copy Folders.

Now just use Text Output which can be loaded from WordPad or Notepad and printed.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close