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,208 of 2,978   
   Marco van de Voort to paulsm   
   Re: Error 49: Data segment too large....   
   28 Dec 04 07:49:51   
   
   From: marcov@stack.nl   
      
   On 2004-12-27, paulsm  wrote:   
      
   > "Error 49: Data Segment too large"   
   >   
   > I tried overlays; they don't seem to be able to help this situtation   
   > (Code segments: yes.  Data segment: no).   
      
   True.   
      
   > Questions:   
   > 1. Is there any way to create and use a second data segment in   
   > Borland Pascal?   
      
   +3)   
      
   No, but one can go to BP in 16-bits protected mode (target: "protected"   
   instead of "real") and/or a 32-bit protected mode compiler like Free Pascal.   
   Both can involve some work if you interface with hardware intensively,   
   32-bit more than 16-bit PM.   
      
   > 2. Are there any FAQs on how to link a 'C' function into a Borland   
   > program (and still be able to use C library calls like "printf")?   
      
   Never done that with BP. You would need to review the TC++ manuals of the   
   corresponding version, since it has to be a 16-bit C compiler, and probably   
   a Borland one even.   
      
   --- 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