Board index » cppbuilder » How to get an project with many dfm-units working?
David Scheffel
![]() CBuilder Developer |
David Scheffel
![]() CBuilder Developer |
How to get an project with many dfm-units working?2004-10-25 04:01:21 PM cppbuilder81 Hello, since BCB5 doesn't compile projects with more than 130 units, I was told to split my projects into libs. But libraries cannot contain ressources and therefore no dfms. Does that mean my project is limited to 130 forms/frames? I could add the library's source path to the exe-project's library paths so that the linker will find the dfms anyway, but this can't be the only way possible! Is there a clean way to solve this? Thanks... David |
hans galema
![]() CBuilder Developer |
2004-10-25 05:20:34 PM
Re:How to get an project with many dfm-units working?
David Scheffel wrote:
Quotesince BCB5 doesn't compile projects with more than 130 units, QuoteI was told to QuoteDoes that mean my project is limited to 130 forms/frames? QuoteI could add the library's source path to the exe-project's library paths so |
David Scheffel
![]() CBuilder Developer |
2004-10-25 05:45:48 PM
Re:How to get an project with many dfm-units working?Quote>since BCB5 doesn't compile projects with more than 130 units, months ago. Quote>Does that mean my project is limited to 130 forms/frames? all the units part of just one single project? Quote>I could add the library's source path to the exe-project's library paths By the way. Which version of bcb are you using? {smallsort} |
hans galema
![]() CBuilder Developer |
2004-10-25 06:00:17 PM
Re:How to get an project with many dfm-units working?
David Scheffel wrote:
Quote>>since BCB5 doesn't compile projects with more than 130 units, QuoteBy the way. Which version of bcb are you using? |
hans galema
![]() CBuilder Developer |
2004-10-25 06:01:42 PM
Re:How to get an project with many dfm-units working?
hans galema wrote:
Quote>By the way. Which version of bcb are you using? |
David Scheffel
![]() CBuilder Developer |
2004-10-25 06:51:52 PM
Re:How to get an project with many dfm-units working?Quote>>>since BCB5 doesn't compile projects with more than 130 units, (recommendation in bcbdev.com article): //--------------------------------------------------------------------------- #include <vcl.h> #include <pch.h>// <-- this file defines the headers which should be precompiled; should reduce compile time #pragma hdrstop #include "Unit1.h" //--------------------------------------------------------------------------- Maybe this practise increases the number of problems with the bcb compiler / linker. How many time does an complete build of your project take? |
hans galema
![]() CBuilder Developer |
2004-10-25 08:34:59 PM
Re:How to get an project with many dfm-units working?
David Scheffel wrote:
Quote#include <vcl.h> QuoteMaybe this practise increases the number of problems with the bcb compiler / |
David Scheffel
![]() CBuilder Developer |
2004-10-25 09:46:51 PM
Re:How to get an project with many dfm-units working?
"hans galema" < XXXX@XXXXX.COM >schrieb im Newsbeitrag
QuoteDavid Scheffel wrote: Quote>Maybe this practise increases the number of problems with the bcb the huge DevExpress components. But even after restructering into libs an build still takes up to 2 min. for all projects (about 150 units). About 70 units are forms and frames. But the count might rise quickly when creating some "wizards". Each one has up to 20 units. That's why I'm trying to make things right this time. By the way will you continue using C++Builder, anyway? I've really liked BCB, but now that I have to accept that BCB has some serious bugs I really worry about go an working with BCB - likely without support in the future. Well, actually I don't have the ressources to port my project to another environment either. regards David |
hans galema
![]() CBuilder Developer |
2004-10-26 05:24:03 AM
Re:How to get an project with many dfm-units working?
David Scheffel wrote:
Quote>About a minute. unusable with this project. Now this was on a Pentium M 1,7GHhz 512 MB ram. A good buy. QuoteBy the way will you continue using C++Builder, anyway? I've really liked do all with bcb3. For new projects I've to decide yet. Hans. |