` Printed Icetips Article

Icetips Article



ABC: Dynamic pool limit in appbc files (C4)
1998-06-22 -- Wesley Coleman
 
Newsgroups: comp.lang.clarion

In the abchain.tpl there is a %FilesPerBCModule that is set to include 20
files into each appbc?.clw file. I also had this problem and changed this to
10 files per module and was then able to compile my application.

Wesley Coleman
KV Enterprises, Inc.
wcoleman@nothnbut.net


>I have now split the files across different data
>dlls.  Basically I've moved the ones which did not have relationships
>and files that were in a small related group into another dll and
>included the dlls in each so they talked to each other.  Believe me I
>have had to do this before in a VERY large dict for 2003 when that had
>the same problem.
>However this now causes more problems which I think are template bugs
>(wash my mouth out!)
>
>Basically I now have :-
>
>Data.app        Contains most data files and all Global Variables are
>set to external
>Data2.app       Contains non-related files, all Global set to be
>internal
>
>Data.app now compiles!!!!
>Data2.app won't compile!!!
>
>Ok the first problem is this.  If you have a field in a file (declared
>in data.app) with a validation range (i.e. between 10 and 20), it also
>tries to generate the validation code for it in data2, even though data2
>does not 'own' it.  Having firstly generated the Validate code for it,
>it promptly forgets what it is and stops the compiler.   The only way
>around this seems to be to delete the range check from the dictionary.
>
>Then, having removed it from the compiler and made a note to put the
>hand code in later we hit the next problem which I cannot seem to get
>around.  When trying to compile Data2 you get a pile of errors saying
>that each file that was declared in Data.app is Unresolved for Export in
>Data2..  Each of these files has been told that it is declared in
>Data.app but it still is trying to export it as well.  Going back to
>recompile data.app then gets errors saying that every file is
>duplicated!  Catch 22!



Printed May 5, 2024, 2:52 am
This article has been viewed/printed 35125 times.
Google search has resulted in 41 hits on this article since January 25, 2004.