🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2259

Re: Minor wishlist item: any IBMers out there?

#2259
From: David Bolen
Date: Fri, 02 Oct 1992 17:20
47 lines
2972 bytes
In article <1992Oct2.193405.12772@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:

(a C RTL DLL)

>It shouldn't have to distinguish.  If all the entry points are
>standard C function calls using normal C calling conventions, any
>runtime DLL will work with any compiler.

Well - I think it's very rare that each C library in use today actually
matches up perfectly as far as entry points.  There are always some
internal support functions and what not.  You really need other name and
version identification.

(about DLLs in general)

>How would you prefer to implement them?  Surely you wouldn't want to
>eliminate .DLLs.  Then, each PM program would grow to gargantuan sizes
>(from hard-linking the PM libraries), and they wouldn't use new
>features as the OS improved.

I'll tell you what I would fix - automatic version support for DLLs.  What
is needed is support for multiple versions of the "same" DLL.  Right now if
you are writing a DLL and you want to do it right (IMHO), you need to
implement your own version support so that you can recognize if you are
mismatched with your caller.  Then, for upward compatibility you really
need to have later versions handle earlier callers.

It would be really nice if OS/2 took some of this burden, and had a way for
a DLL to identify itself with version information, and OS/2 would match an
application up with the appropriate DLL version.  Otherwise, it's too easy
to get a mismatched DLL and not know what happened.  The recent upgrade to
EMX.DLL is a good example of this.  People tend to post saying to get the
most recent EMX to make sure things are working - I'm just waiting for the
point when EMX for some reason changes so it's not completely backward
compatible - it'll be a big mess.

(Of course, a way to change LIBPATH dynamically after the system has booted
 would be a big improvement too)

--
-- David
--
/-----------------------------------------------------------------------\
 \              David Bolen             \  Internet: db3l@ans.net      /
  |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
 / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
\-----------------------------------------------------------------------/
Technical Details
Message-ID: <1992Oct02.211646.23484@ans.net>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!news.ans.net!ans.net!db3l
References: <717978212snx@sugs.tware.com> <1992Oct2.193405.12772@njitgw.njit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!news.ans.net!ans.net!db3l
From: db3l@ans.net (David Bolen)
Subject: Re: Minor wishlist item: any IBMers out there?
Sender: news@ans.net (News Administrator)
Message-ID: <1992Oct02.211646.23484@ans.net>
In-Reply-To: dic5340@hertz.njit.edu's message of 2 Oct 92 19: 34:05 GMT
Date: Fri, 2 Oct 1992 17:20:27 GMT
References: <717978212snx@sugs.tware.com> <1992Oct2.193405.12772@njitgw.njit.edu>
Organization: Advanced Network & Services, Inc. - Elmsford, NY
Lines: 47