Thread View: borland.public.cppbuilder.upgrade
3 messages
3 total messages
Started by roladdon
Thu, 24 Apr 2008 16:16
Form does not show ->Upgrade from CBuilder6 to CBuilder2007
Author: roladdon
Date: Thu, 24 Apr 2008 16:16
Date: Thu, 24 Apr 2008 16:16
13 lines
1308 bytes
1308 bytes
I have converted several projects now from CBuilder6 to CBuilder2007. But with one project - the main form does not show at design time in CBuilder2007. It does show when run. In the IDE - if I double click on the main.dfm file - only the main.cpp opens alos: I double click on the main.h file - only the main.cpp opens How can I fix that ? thanks for your help Roland
Re: Form does not show ->Upgrade from CBuilder6 to CBuilder2007
Author: David Dean [CodeGear]
Date: Thu, 24 Apr 2008 19:23
Date: Thu, 24 Apr 2008 19:23
18 lines
1457 bytes
1457 bytes
In article <4810b271@newsgroups.borland.com>, "roladdon" <roladdon@PutMyServerHere.ca> wrote: > In the IDE - if I double click on the main.dfm file - only the main.cpp > opens > alos: I double click on the main.h file - only the main.cpp opens This is a problem with the header guards. If they aren't in the form: #ifndef FILENAMEH #define FILENAMEH ... #endif then the IDE will not treat them as a unit. -- David Dean (CodeGear) Lead C++ QA Engineer
Re: Form does not show ->Upgrade from CBuilder6 to CBuilder2007
Author: roladdon
Date: Thu, 24 Apr 2008 20:17
Date: Thu, 24 Apr 2008 20:17
36 lines
2051 bytes
2051 bytes
I had: >#ifndef FosManagerMainH >#define FosManagerMainH But the file name is "FaxManagerMain.h" (because the file name was changed manually years ago) Now I change it to: >#ifndef FaxManagerMainH >#define FaxManagerMainH thanks - it does work now in CBuilder 2007 (CBuilder 6 did not worry about that) thanks again, Roland "David Dean [CodeGear]" <david.dean.no@spam.codegear.com> wrote in message news:david.dean.no-1AABEE.12233024042008@h10s143a100n47.user.nortelnetworks.com... > In article <4810b271@newsgroups.borland.com>, > "roladdon" <roladdon@PutMyServerHere.ca> wrote: > >> In the IDE - if I double click on the main.dfm file - only the main.cpp >> opens >> alos: I double click on the main.h file - only the main.cpp opens > > This is a problem with the header guards. If they aren't in the form: > > #ifndef FILENAMEH > #define FILENAMEH > ... > #endif > > then the IDE will not treat them as a unit. > -- > David Dean (CodeGear) > Lead C++ QA Engineer
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads