🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #209

Re: Migrating from Builder 6 to Builder 2007

#209
From: Bob Lawson
Date: Tue, 23 Oct 2007 13:42
54 lines
2565 bytes
Ok... now I'm really confused.  Out of despiration I started a new DLL 
project.
When I do this it creates me a file1.cpp.

So now a I have a new project, new directory, new file.  I build the file 
and it builds without error.
The top of the file looks like:

//---------------------------------------------------------------------------

#include <vcl.h>
#include <windows.h>
#pragma hdrstop
//---------------------------------------------------------------------------
//   Important note about DLL memory management when your DLL uses the

Now all I do is add the include for strings.

//---------------------------------------------------------------------------

#include <vcl.h>
#include <windows.h>
#include <string>
#pragma hdrstop
//---------------------------------------------------------------------------
//   Important note about DLL memory management when your DLL uses the

and now I'm back to my 51 errors!

So this has to rule out anything I have in my old code, old includes etc! 
So what is with the #include <string>!

This is a new computer, new installation of the compiler.  I should have 
tried this simple test two days ago but figured it was in my code.

Any thoughts?

Bob

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4718e0b0@newsgroups.borland.com...
>
> "Bob Lawson" <bob.lawson@alcoa.com> wrote in message 
> news:4718d44e@newsgroups.borland.com...
>
>> I keep having errors with
>>    using std::string;  in cstring
>> and calls to To_String.
>
> Please be more specific.  What EXACTLY are you having a problem with?
>
>
> Gambit
> 
Technical Details
Message-ID: <471dfa62$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4718d44e@newsgroups.borland.com> <4718e0b0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,973dd1ee12fc0bb5
X-Google-Attributes: gid110f51,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bob Lawson" <bob.lawson@alcoa.com>
Newsgroups: borland.public.cppbuilder.migration
References: <4718d44e@newsgroups.borland.com> <4718e0b0@newsgroups.borland.com>
Subject: Re: Migrating from Builder 6 to Builder 2007
Date: Tue, 23 Oct 2007 09:42:56 -0400
Lines: 56
Organization: Alcoa
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 147.154.119.254
Message-ID: <471dfa62$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1193146978 147.154.119.254 (23 Oct 2007 06:42:58 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail