🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Disconnected units

#140
From: David Dean [CodeGear]
Date: Sat, 12 Jul 2008 19:51
26 lines
2048 bytes
In article <4877d6bf@newsgroups.borland.com>,
 "Michael Corby" <mcorby@indigo.ie> wrote:

> When I create a new project in C++ Builder 2007 and add units from a 
> BDS 2006 project I am getting some problems. For some of the units, in the 
> IDE I can display the code but I cannot switch to the associated form, 
> even though the dfm file shows in the Project Manager. F12 does nothing.
> When I click on the dfm file in the Project Manager nothing happens.
> There is no way to show the form.  
> Is there any way to reconnect the code with the form ? 

   Assuming that this is not a package project, then all you need to do 
is make sure that the header guards match the filename correctly and 
that the filename is a unique identifier. (You can't have a file named 
TTest.cpp and the form in the file also named TTest) Using TTest.cpp as 
an example, the TTest.h file should have a line like this near the top:

#ifndef TTestH
#define TTestH


If the TTestH is in another format such as TTest_h, the project manager 
will not recognize the cpp, h, and dfm files as a unit.
-- 
David Dean (CodeGear)
Lead C++ QA Engineer
Technical Details
Message-ID: <david.dean.no-5BFAB1.12512612072008@killface.local>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!david.dean.no
References: <4877d6bf@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,4e17669f29990737
X-Google-Attributes: gid110f51,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Dean [CodeGear]" <david.dean.no@spam.codegear.com>
Newsgroups: borland.public.cppbuilder.migration
Mail-Copies-To: nobody
Subject: Re: Disconnected units
Organization: CodeGear
References: <4877d6bf@newsgroups.borland.com>
User-Agent: MT-NewsWatcher/3.5.3b2 (Intel Mac OS X)
X-Archive: encrypt
X-Face: ?afCWR6x\SS65*u(`M\l0yTLT_moka!A27b;<KmCA'V5W7yq0B',C2Y6'T\-pr9;SSdvI;]1VVf
Date: Sat, 12 Jul 2008 12:51:26 -0700
Message-ID: <david.dean.no-5BFAB1.12512612072008@killface.local>
NNTP-Posting-Host: 74.220.207.168
X-Trace: newsgroups.borland.com 1215892286 74.220.207.168 (12 Jul 2008 12:51:26 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!david.dean.no