[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLLs under Linux



Felix Kollmann wrote:
> 
> Hi,
> 
> > IIRC you can import particular symbols from DLL (functions) too.
> > But really, DLL is a Windows term, DSO is Unixish. They differ
> > mostly in the fact that DLL exports only specified functions
> > whereas DSO exports all, but I'm not sure whether it has to be
> > always so.
> 
> A very, very important question:
> 
>         Does Visual C++ 6.0 suppoert dlopen()?
>         How to create the .dso files with VC++?

No - but Windoze has equivelent functionality via
it's DLL feature. There is a windoze API call to do
stuff just like the dlopen/dlsym calls and VC++ can
make DLL's just like you'd make DSO's under Linux/UNIX.

Someone needs to write a 10 line portability layer to
hide all that stuff from the application writers.

BTW: Does anyone know if MacOS has similar features?

I might be prepared to support such a portability
layer if I could find someone to do the MacOS code.

-- 

Steve Baker                (817)619-2657 (Vox/Vox-Mail)
Raytheon Systems Inc.      (817)619-2466 (Fax)
Work: sjbaker@hti.com      http://www.hti.com
Home: sjbaker1@airmail.net http://web2.airmail.net/sjbaker1