[omniORB] packaging stubs in a dll

Renzo Tomaselli renzo.tomaselli@tecnotp.it
Tue, 4 Dec 2001 16:54:56 +0100


Duncan,

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


Well, we have a somewhat complex architecture based on OmniORB and
everything works fine on both Win32 and Linux, in mixed mode and on a single
type of platform. Dynamic loading of components, any/dynany, exceptions
across components, servant locators, complex inheritance, python
interfacing, etc. Nearly perfect on both platforms.
However as a matter of initial deployment and smoke testing we prefer Win32,
at least there is only one compiler to fight against.

>> 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.


Not so easy as far as data members are concerned (on gcc 2.96), such as
typecodes and repoIDs. It seems that order of library feeding into the
linker matters a lot, otherwise pointers across shlibs remain (silently)
initialized to null, unlike on NT where they remain initialized to garbage.
Same mud, different colors ...

                                             Renzo Tomaselli
---------------------------------------------------------------------------
TecnoTP s.n.c. Special Information System Design
Maso Pelauchi I38050 Ronchi Valsugana,  Trento TN  ITALY
Tel. +39 0461 773164      Fax. +39 0461 771514
e-mail: renzo.tomaselli@tecnotp.it
---------------------------------------------------------------------------