[omniORB] Re: Windows NT and dllimport/dllexport

Sai-Lai Lo S.Lo@uk.research.att.com
04 Aug 2000 16:46:20 +0100


Sigh! I got the macro names wrong. Should be:

USE_dyn_stub_in_nt_dll, USE_core_stub_in_nt_dll and USE_stub_in_nt_dll.

Sai-Lai

>>>>> Sai-Lai Lo writes:

> I like to know more about your problem.
> Firstly, let me explain the recommended steps to compile and use the stubs
> in DLLs:

> 1. To compile:
>      a) *SK.cc stub files,
>            Specify the CPP flag -DUse_dyn_stub_in_nt_dll
>                                  ^^^^^^^^^^^^^^^^^^^^^^^
>                                  This put dllimport on the relevant symbols
>                                  exported by *DynSK.cc files.

>      b) *DynSK.cc stub files,
>            Specify the CPP flag -DUse_core_stub_in_nt_dll


-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND