Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Hi everybody, Is there any limitation for the number of objects in a uil file? One of our customers has an application that generates a uil file. The uil compiler aborts with %UIL-F-SUBMIT_SPR, Internal error , when the number of the objects in the file grows above 1000. Is it a known problem? Is there any fix or workaround available?? Any help is welcome. Thanks in advance, Itamar.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3465.1 | Break it into two files | VINO::MCARLETON | Reality; what a concept! | Mon Oct 15 1990 11:10 | 8 |
> Is there any fix or workaround available?? You could break up the single UIL file into two files that when compiled produce two UID files. You can then pass both file names to DwtOpenHierarchy. MJC | |||||
3465.2 | Submit a QAR or SPR | RTL::BRINKLEY | Do it right all the time | Mon Oct 15 1990 11:23 | 8 |
>> Is there any limitation for the number of objects in a uil file? None that I know of. What should be done here is to submit QAR or SPR with the version # and some pointer to the UIL file that is causing the error to occur. Binky UIL Developer | |||||
3465.3 | A little example please... | TAV02::ITAMAR_E | Mon Oct 15 1990 12:45 | 15 | |
RE .1 Is it possible to get a little example that shows how to pass two file names to DwtOpenHierarchy?? I'll be very grateful. RE .2 Of course, I'll send a QAR the moment I'll finish to create the minimum environment that reproduces the problem - for your convenience. Thanks a lot, Itamar. | |||||
3465.4 | example | VINO::MCARLETON | Reality; what a concept! | Mon Oct 15 1990 13:03 | 40 |
Example of using more than one UID file: static DRMHierarchy s_drm_hierarchy; /* Key to the UID files */ /* Data to interface with UIL-generated structures */ static char *uid_files[] = { "decw$system_defaults:menus.uid", "decw$system_defaults:main_window.uid", "decw$system_defaults:dialog_boxes.uid" }; static DRMCount nbr_uid_files = (sizeof uid_files / sizeof uid_files[0]); main() { int status; char uidstr[512]; int i; . . . status = DwtOpenHierarchy(nbr_uid_files, uid_files, NULL, &s_drm_hierarchy); if (status != DRMSuccess){ uidstr[0] = '\0'; for(i=0;i<nbr_uid_files;i++){ if(i) strcat(uidstr,", "); strcat(uidstr,uid_files[i]); } printf("Can't open uid files %s\n",uidstr); } } | |||||
3465.5 | 1E6 THANKS !!! | TAV02::ITAMAR_E | Mon Oct 15 1990 13:14 | 7 | |
RE .4 Faster than the speed of light... Thanks for the example, Itamar. |