NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: TimR on March 31, 2022, 02:20:40 PM

Title: Upgrade to 12.38 causes too many segdef in file error (solved)
Post by: TimR on March 31, 2022, 02:20:40 PM
I was using Nettalk version no: 12.33 and was going to upgrade 12.38, however when I compile one of my apps in a multi-dll application I'm getting the "Too many segdef in file:..." error.  This is occurring not on the largest app, just a middle sized one, it only has around 20 procedures (excluding external procedures), it is not the "data" DLL. The data dll and other DLLs in this app compile fine, just this particular one is giving me grief.  Any thoughts on this?
Title: Re: Upgrade to 12.38 causes too many segdef in file error
Post by: TimR on April 01, 2022, 08:38:03 AM
I figured out the issue, I had a Net web form with a lot of fields, as soon as I removed some of them, the issue went away. I'll just have to reconfigure the form layout.
Title: Re: Upgrade to 12.38 causes too many segdef in file error (solved)
Post by: Bruce on April 03, 2022, 10:34:47 PM
Hi Tim,
so the compiler basically has a limit on how many "things" can be in a CLW file. Not a procedure, but a CLW file.
So while there is a limit to how many fields you can have on a form (around 200) it's also helpful o put the form in it's own module.
(You can also embed a form on a form, but that has to be done right.)

Cheers
Bruce