home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,213 of 2,978   
   Markus Humm to All   
   Re: Error 49: Data segment too large....   
   30 Dec 04 09:58:52   
   
   From: markus.humm1@freenet.de   
      
   paulsm schrieb:   
      
   [snip]   
      
   What you can do is:   
      
   1. split the app in more procedures since each procedure has another   
       64 KB data segment   
      
   2. use dynamic variables like pointers (look up new, getmem, freemem and   
       pointer in the help or manual) which don't sit on the data segment so   
       much.   
      
   3. switch to BP 7 protected mode if possible, but beware that this   
       doesn't work well for programs which are closely coupled with   
       hardware programming. For others it might only be switching the   
       compiler target.   
      
   Greetings   
      
   Markus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca