Re: .so v/s .dll
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: .so v/s .dll




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: .so v/s .dll  
Chuck Dillon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-04 10:51 PM

Paul Pluzhnikov wrote:
> Chuck Dillon <spam@nimblegen.com> writes:
>
> <snip>
> 
>
>
> I understand what you are referring to, but I think you don't have
> much (recent) experience with Windows DLLs.

Actually, I only have fairly recent experience.  I don't have much
historic experience nor knowledge of Winders SDK internals so some of
my efforts to elaborate were inaccurate.  My primary point revolves
around the C-runtime implementations in the Winders world and the
various complexities it can introduce.  Those complexities are directly
related to sharing information across/between the libCRT ABIs.  Perhaps
it is inaccurate to extrapolate the seemingly assinine limitations of
the CRT implementations to the architecture of DLLs.

>
> To build a DLL that would function pretty close to a UNIX DSO (at
> least WRT malloc) all you have to do is compile and link everything
> with /MD switch.

Again, *pretty close* is a lot of the point I was trying to make.  It
is over-simplifying things to suggest just link /MD.  When 3rd party
DLLs are involved compatible links might not be possible or might
require special builds from the vendor if they will provide them.  They
might just say: "What do you mean you're not building an MFC app?" If
you need the C-Runtimes (CRT) DLLs you can run into conflicts just
mixing MS technologies.

>
> 
>
>
> Not if you compiled everything with /MD.

Like I said, that is easy to say but not always doable.  It's a
most-of-the-time solution.

-- ced


--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:44 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register