NetTalk Central

Author Topic: Upgrade to 12.38 causes too many segdef in file error (solved)  (Read 3369 times)

TimR

  • Newbie
  • *
  • Posts: 28
    • View Profile
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?
« Last Edit: April 01, 2022, 08:39:28 AM by TimR »

TimR

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Upgrade to 12.38 causes too many segdef in file error
« Reply #1 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Upgrade to 12.38 causes too many segdef in file error (solved)
« Reply #2 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