home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 30 fixes_v / 30-fixes_v.zip / bcos2fix.zip / BORLAND.FIX next >
Text File  |  1996-07-25  |  3KB  |  80 lines

  1. This may be the fix for Borland BCOS2 with its thread crash problems.
  2. I've heard that the fix simply touches all secondary thread pages,
  3. resulting in not very efficient memory use.  Still, if you'd rather
  4. not have your thread-loaded programs crash, this is a must.
  5.  
  6.  
  7. From: Cornel <cornel@40th.com>
  8. To: John Thomas <jthoma69@iadfw.net>
  9. Subject: Re: Patch for Borland
  10.  
  11. It looks like they don't want you to know about this file.  No write-up
  12. anywhere that I could see.  Dynamic, ay?  I wonder if the ct2mtlib.zip
  13. file is the static "fix" -- it's dated back in Feb95, though, about 6
  14. months before the ct2mti (i=import library, probably).  Thanks.  
  15.  
  16. >  Tell you what I know(which isn't much). Haven't got any hard information
  17. > on this other than what I've experienced.
  18. > ftp.borland.com/pub/techinfo/techdocs/language/cpp/bcpp/os2/os2dll.zip
  19. > Installing:
  20. > c2mti.lib            Replaces current in \bcos2\lib
  21. > c2151mt.dll        Goes into \bcos2\bin (c2mti.lib is looking for new
  22. > name)
  23. > Setting up ide: (Worlds biggest makefile generator)
  24. > View Settings
  25. > Linker
  26. > Standard Runtime Libraries = Dynamic (Page 2?)
  27. > That's it, 
  28. > >I went a'looking and came up empty.  The only things I saw seemed to be
  29. > >from 1993.  Hm.  Got a filename, or something I can use?  I'd like to put
  30. > >it on my BBS.  Thanks.  Bye.
  31. > -- 
  32. > -----------------------------------------------------------
  33. > jthoma69@iadfw.net (John Thomas)
  34. > -----------------------------------------------------------
  35.  .                                             .
  36.  :    Quality Toolkits and Applications for    : info@40th.com
  37.  :          DOS - Win16 - Win32 - OS/2         : http://www.40th.com/
  38.  :                                             : BBS:1-210-684-8065
  39.  
  40.  
  41. comp.os.os2.programmer.misc #44285 (21 more)                          (1)--[1]
  42. From: nick@secant.com (Nick Knight)
  43. [1] Re: Borland patch
  44. Date: Thu Jul 25 04:57:44 PDT 1996
  45. Organization: Exchange Network Services
  46. Lines: 27
  47. X-Newsreader: MR/2 Classic v2.26 - An OS/2 QWK reader
  48.  
  49. In <6fw9xo3qBacI091yn@airmail.net>, pcrown@airmail.net said:
  50.  
  51. >Okay, since I've installed the Borland patch everything is working fine.
  52. >However, the patch I received consisted of only c2mti.lib and c2151mt.dll.
  53. >This is the Import library version for linking dynamically, correct?
  54. >So how am I supposed to link statically?
  55.  
  56. As far as I know, Borland only released the DLL version.
  57.  
  58. Before they did that, tho, we had pretty good success, using the old libs,
  59. and compiling with the -xd- flag.  This turns off exceptions, somehow, so
  60. can't be used in all cases.  Even if you don't use exceptions, the compiler
  61. generates some kind of prologue for each method that creates object(s) with
  62. destructors.  This extra code is incompatible with use in a thread.
  63. Compiling with -xd- changed this in some way to allow our stuff to work.
  64.  
  65. Hope that helps, otherwise, I'm out of ideas! :)
  66.  
  67. Nick
  68. --
  69. nick@secant.com (Nick Knight)
  70.  
  71.  
  72.