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 2,446 of 2,978   
   Marco van de Voort to Jim Bishop   
   Re: FreePascal - FindFirst and I/O Handl   
   05 May 07 10:04:46   
   
   From: marcov@stack.nl   
      
   On 2007-05-05, Jim Bishop  wrote:   
   > Wow... thanks for pointing out the FindClose.  Works great!   
   >   
   > I'd never have found that on my own.  I wonder how many other TP->FPC   
   > gotcha's I don't know about.  (Is that an unknown unknown or a known   
   > unknown? to quote a famous ex US cabinet member).   
      
   While I'm not so familiar with US cabinet members, I can quickly think of   
   one other issue:   
      
   FPC dynamically allocates memory from the OS. This makes it dangerous to   
      rely on memavail and friends, for more than indicative purposes.  The   
      clearest reason for this is that the amount of free memory might change   
      between check for memory and the actual allocation.   
      
   Going through c.l.p.b and c.l.p.m archives might yield some more points.   
      
   What OS target do you use? While FPC abstracts the OS and CPU reasonably   
   well, it is not perfect in more remote cases where the abstraction would   
   need to change into an emulation.   
      
   --- 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