[omniORB] packaging stubs in a dll

Duncan Grisby dgrisby@uk.research.att.com
Tue, 04 Dec 2001 09:59:16 +0000


On Tuesday 4 December, "Renzo Tomaselli" wrote:

> This sounds good and I will use it. However I would strongly suggest for
> OmniORB 4.0 to document this trick or to adopt some symbol scheme to achive
> the same results.

To be honest, I don't completely understand all the issues. If someone
who does understand it wants to write some documentation, that would
be great. The Wiki page would be a good first place to put it.

> The bad news are that in case of missing import declarations, strange
> runtime failures occur because of uninitialized data (not null, just
> garbage). The linker doesn't help here since it builds up dlls without
> complains.

Indeed. I'm amazed anything ever works on Windows with issues like
this... :-)

> Btw, are there any similar issues on Linux when using shlibs in place of
> dlls ?

No. It all just works seamlessly without any need for import/export
declarations.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --