Unix Programming - Re: .so v/s .dll

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2004 > Re: .so v/s .dll





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: .so v/s .dll
K.M Jr

2004-10-19, 2:48 am

> > By default DLLs have their own "data segment" which is
>
> But so do UNIX DSOs.



UNIX DSOs == Dynamic Shared object Library, right ? Those that need
dlopen(), dlsym(). Please correct if I am wrong.

>
> Not if you compiled everything with /MD.


Yep, that's right. I once had a Xerces (XML parser) dll that allocated
memory and I had to free the memory on the main program. It didn't
work till the time I told compiler to make it as a multithreaded dll.

So do we likewise need any switch for a UNIX DSOs so one can release
memory allocated by the DSO ?

Thanks.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com