🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Win 95 to Win XP and from 1st C++ Builder to C++ Builder 5 porting problem.

#169
From: Sanjay Patel
Date: Fri, 07 Jul 2006 06:08
43 lines
2448 bytes
Hans,

I created new project under C++ Builder 5 and added one form at a time.  Now 
the error has moved somewhere else but it is still happening.  I am so lost 
I don't know what to do.

Any other idea.
"Hans Galema" <notused@notused.nl> wrote in message 
news:449fc805@newsgroups.borland.com...
> Sanjay Patel wrote:
>
>> Yes, I am still using FormCreate to create my form. I tried both of your 
>> suggestion and unfortunately problem still exist. My main code to create 
>> form is as below:
>
>> Application->CreateForm(__classid(TCustInfo), &CustInfo); // <---- This 
>> line has problem and I receive error message.
>
> Well that is not your code. That is code generated by the IDE.
>
> I meant that you do not use
>
> void __fastcall TCustInfo::FormCreate(TObject *Sender)
> {
>  // your initialisationcode
> }
>
> but place that initialisationcode in the constructor:
>
> __fastcall TCustInfo::TCustInfo(TComponent* Owner)
>   : TForm(Owner)
> {
>   //initialisation code
> }
>
> To debug your project: outcomment all code in the constructor
> and see if you still get the error.
>
> By the way: How did you start the bcb5 project? Did you let
> it automatically convert the .mak/.prj file ? If so then that was
> the wrong way. Start a new project and add all the units manually.
>
> Hans. 
Technical Details
Message-ID: <44adfa4a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <449de457$1@newsgroups.borland.com> <449e41d6@newsgroups.borland.com> <449f7fe1$1@newsgroups.borland.com> <449fc805@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,ed557c1baf67d36a
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Sanjay Patel" <spatelone@yahoo.com>
Newsgroups: borland.public.cppbuilder.migration
References: <449de457$1@newsgroups.borland.com> <449e41d6@newsgroups.borland.com> <449f7fe1$1@newsgroups.borland.com> <449fc805@newsgroups.borland.com>
Subject: Re: Win 95 to Win XP and from 1st C++ Builder to C++ Builder 5 porting problem.
Date: Fri, 7 Jul 2006 02:08:12 -0400
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 72.149.65.254
Message-ID: <44adfa4a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152252490 72.149.65.254 (6 Jul 2006 23:08:10 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail