home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 30 fixes_v
/
30-fixes_v.zip
/
bcos2fix.zip
/
BORLAND.FIX
next >
Wrap
Text File
|
1996-07-25
|
3KB
|
80 lines
This may be the fix for Borland BCOS2 with its thread crash problems.
I've heard that the fix simply touches all secondary thread pages,
resulting in not very efficient memory use. Still, if you'd rather
not have your thread-loaded programs crash, this is a must.
From: Cornel <cornel@40th.com>
To: John Thomas <jthoma69@iadfw.net>
Subject: Re: Patch for Borland
It looks like they don't want you to know about this file. No write-up
anywhere that I could see. Dynamic, ay? I wonder if the ct2mtlib.zip
file is the static "fix" -- it's dated back in Feb95, though, about 6
months before the ct2mti (i=import library, probably). Thanks.
> Tell you what I know(which isn't much). Haven't got any hard information
> on this other than what I've experienced.
>
> ftp.borland.com/pub/techinfo/techdocs/language/cpp/bcpp/os2/os2dll.zip
>
> Installing:
>
> c2mti.lib Replaces current in \bcos2\lib
> c2151mt.dll Goes into \bcos2\bin (c2mti.lib is looking for new
> name)
>
> Setting up ide: (Worlds biggest makefile generator)
>
> View Settings
> Linker
> Standard Runtime Libraries = Dynamic (Page 2?)
>
> That's it,
>
> >I went a'looking and came up empty. The only things I saw seemed to be
> >from 1993. Hm. Got a filename, or something I can use? I'd like to put
> >it on my BBS. Thanks. Bye.
>
> --
> -----------------------------------------------------------
> jthoma69@iadfw.net (John Thomas)
> -----------------------------------------------------------
. .
: Quality Toolkits and Applications for : info@40th.com
: DOS - Win16 - Win32 - OS/2 : http://www.40th.com/
: : BBS:1-210-684-8065
comp.os.os2.programmer.misc #44285 (21 more) (1)--[1]
From: nick@secant.com (Nick Knight)
[1] Re: Borland patch
Date: Thu Jul 25 04:57:44 PDT 1996
Organization: Exchange Network Services
Lines: 27
X-Newsreader: MR/2 Classic v2.26 - An OS/2 QWK reader
In <6fw9xo3qBacI091yn@airmail.net>, pcrown@airmail.net said:
>Okay, since I've installed the Borland patch everything is working fine.
>However, the patch I received consisted of only c2mti.lib and c2151mt.dll.
>This is the Import library version for linking dynamically, correct?
>So how am I supposed to link statically?
As far as I know, Borland only released the DLL version.
Before they did that, tho, we had pretty good success, using the old libs,
and compiling with the -xd- flag. This turns off exceptions, somehow, so
can't be used in all cases. Even if you don't use exceptions, the compiler
generates some kind of prologue for each method that creates object(s) with
destructors. This extra code is incompatible with use in a thread.
Compiling with -xd- changed this in some way to allow our stuff to work.
Hope that helps, otherwise, I'm out of ideas! :)
Nick
--
nick@secant.com (Nick Knight)