Board index » cppbuilder » bds2006 ==> cb2007 trial project upgrade problem

bds2006 ==> cb2007 trial project upgrade problem


2007-07-15 05:07:27 AM
cppbuilder40
I have upgraded (a copy of) a bds2006 project with cb2007 trial.
After doing so, it does not seem to recognize my units, and does not allow
me to access the visual forms. (Presumably related, it does not show the
"bottom" tabs for .cpp, .h, design, history.)
Am I likely a victim of a project upgrade failure or deficiency of some
sort, or is there some option I can change somewhere that will reinstate
these views and functionality?
(After addressing one package installation, and a couple of changes to
address pickiness regarding perceived ambiguities about abs(int) usage, I
was able to compile the project and run it. But I do not know how to make
visual form changes at this time.)
 
 

Re:bds2006 ==> cb2007 trial project upgrade problem

In article <46993b30$ XXXX@XXXXX.COM >,
"dhoke" < XXXX@XXXXX.COM >wrote:
Quote
After doing so, it does not seem to recognize my units, and does not allow
me to access the visual forms. (Presumably related, it does not show the
"bottom" tabs for .cpp, .h, design, history.)
The IDE is now (unfortunately) more sensitive to the header guards to
associate the pieces of managed units. Make sure that they are in the
form of:
#ifndef unit1H (assuming files named unit1.cpp and unit1.h)
#define unit1H
#endif
--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>
 

Re:bds2006 ==> cb2007 trial project upgrade problem

(Question: Was the default guard form <name1>DotH in units created with
BCB4? I believe that's when these projects were first created. When I
inherited them, they were last modified in BCB6. And bds2006 handled them
OK as well. Yeah, I know you said UNfortunately.)
Changing the guard names does seem to gain access to the form(s).
Caveats:
1)With the IDE, you can't double click on the .h file in the project window
to open it. (No error or other information was given, it just doesn't open.
I think when I clicked on a .h in the project, if the .cpp wasn't open
already, that opened.)
You can open it via menu options File/Open. You can also open the .h file
positioning to it's include in its opened .cpp window, and Ctrl-enter.
2)The IDE did not recognize the connection(s) until I closed both the .h and
.cpp, and re-opened them. (I did double click in project manager window for
the re-open.)
Thanks.
"David Dean [CodeGear]" < XXXX@XXXXX.COM >wrote in message
Quote
In article <46993b30$ XXXX@XXXXX.COM >,
"dhoke" < XXXX@XXXXX.COM >wrote:

>After doing so, it does not seem to recognize my units, and does not
>allow
>me to access the visual forms. (Presumably related, it does not show the
>"bottom" tabs for .cpp, .h, design, history.)

The IDE is now (unfortunately) more sensitive to the header guards to
associate the pieces of managed units. Make sure that they are in the
form of:

#ifndef unit1H (assuming files named unit1.cpp and unit1.h)
#define unit1H
#endif

--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>
 

{smallsort}

Re:bds2006 ==> cb2007 trial project upgrade problem

In article < XXXX@XXXXX.COM >,
"dhoke" < XXXX@XXXXX.COM >wrote:
Quote
Was the default guard form <name1>DotH in units created with
BCB4?
I don't believe so. I had BCB 3-6 and don't recall ever seeing DotH
as part of the header guard. (and I do have some old projects from those
old days)
--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>