[omniORB] Windows DLL from stubs/skeleton files?

Patrick Hubert hubert@discreet.com
Fri Jul 19 16:18:09 2002



Hi Lars,

You can always use Google as a search engine...

Simply make sure that you have the token "site:realvnc.com" with your
search string. It probably won't give you hits on recent postings, but
that should be better than nothing...

 i) I personally get by only using a .def file which is automatically
    generated. Look at omni/src/lib/omniORB2/orbcore/sharedlib/dir.mk
    for an example and some explanation.

    But then you must define the macro "USE_stub_in_nt_dll" when including
    the header files from other DLLs/EXE to make sure that the symbols
    are properly imported.

ii) dumpbin must be applied to a .obj file (or a static library), not
    a DLL.


Hope this helped...

 -Patrick

On Fri, 19 Jul 2002, Lars von Wedel wrote:

> Date: Fri, 19 Jul 2002 09:31:28 +0200
> From: Lars von Wedel <vonWedel@lfpt.rwth-aachen.de>
> To: omniorb-list@realvnc.com
> Subject: [omniORB] Windows DLL from stubs/skeleton files?
> 
> Hi,
> 
> I know there have been numerous posts on this list on how
> to generate a Windows DLL from the stubs/skeletons generated
> by omniidl. However, it seems there is no search engine to
> the mailing list anymore!?
> 
> I have some rather basic questions:
> 
>  i) Are the approaches to use a .def file and to
>     use the DLL export macros within the IDL files
>     alternatives or must they be used together?
> 
> ii) I tried to extract the symbols from the DLL
>     via dumbin.exe. However, there seemed to be
>     symbols missing and the linker complains about
>     several symbols extracted. I have no clue which
>     symbols to remove and where to get the missing
>     ones from!?
> 
> Any help is appreciated,
> 
> Lars

--
Patrick Hubert
Work: +1.514.954.7233
Fax : +1.514.393.0110