drharvey@chinet.chi.il.us (Douglas Harvey) (08/18/90)
Hello fellow OS/2 programmers, I seem to have run into a system limit with OS/2 that is incredibly limiting. We are using the Micro Focus COBOL compiler to build our application, and as the application is beginning to take shape, we have started running into the problem mentioned in the Subject line above; namely, our DLL's can only contain around fifty modules (or so) because each one uses around four file segments and the OS limits DLL's to 256. The LINK command suggests using the /PACKCODE and/or the /PACKDATA options to get around the problem, but then the COBOL program blows up at run-time. By the way, packing the code and data segments works ok with "C". Has anyone else run into this situation, and more importantly, found a way around it? If the limit is now 256, will this limit be increased in 2.0? Alistair? Given the current situation, I have to comment that the limit of 3072 entry points in a DLL looks entirely whimsical. Thanks in advance, Doug Harvey -- Douglas Harvey Email: drharvey@chinet.UUCP Hewitt Associates Compuserve: 72341,104 100 Half Day Road Phone: (708) 295-5000 Lincolnshire, IL 60069