[omniORB] omniORB4.0.2 Problems - reading Windows registry & link error, linking DLL

Duncan Grisby duncan at grisby.org
Fri Sep 19 16:54:39 BST 2003


On Monday 15 September, K.D.Welast at t-online.de wrote:

> The ORB_init() function no longer read the configuration data from the
> Windows registry. 

It's a known bug, fixed in CVS. See the bugs page:

  http://omniorb.sourceforge.net/bugs/bugfixes-402.html

[...]
> 	Using the standard configuration file C:\OMNIORB.CFG define with
> CONFIG_DEFAULT_LOCATION in \..\orbcore\dir.mk not works under Windows
> 9x.
> Windows 9x doesn't except the double backslash see below.

Can you propose a work-around?  I don't have a Windows 9x machine.


> 2. Building the application
> The linker reports the following error 
> 
> mfcs42d.lib(dllmodul.obj) : error LNK2005: _DllMain at 12 bereits in
> MSVCRTD.lib(dllmain.obj) definiert
> mfcs42d.lib(dllmodul.obj) : warning LNK4006: _DllMain at 12 bereits in
> MSVCRTD.lib(dllmain.obj) definiert; zweite Definition wird ignoriert
> 
> 	(Of course, he link switch /FORCE:MULTIPLE create two warnings instead
> the error and built the DLL file but ...)
>  
> Using the SK (*.cc and *.hh) files generated with omniORB4.0.1 the
> linker reports no errors

I don't understand what this problem is. Can you explain further?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list