[omniORB] omniORB on Windows 2000
Sampo Ahokas
sampo.ahokas at openttcn.fi
Thu Feb 26 16:39:18 GMT 2009
Hey,
I fixed this by #including Wspiapi.h in
include/omniORB4/internal/SocketCollection.h. The attached patch should
do the trick.
Best regards,
Sampo Ahokas
OpenTTCN Ltd
> Hi list
>
> For one of our projects, we deliver a CORBA executable on a windows
> computer. Everything works fine under WindowsXP, but when we execute
> it on a Win2000 computer (unfortunately imposed by a client), there is
> a problem related to the WS2_32.DLL library : the symbol GetNameInfo
> is not present in the WS2_32.DLL bundled on the computer. This symbol
> seems to be referenced in the OMNIORB413_VC9_RT.DLL
>
> After some research on the Internet, I found the following information
> :
> http://social.msdn.microsoft.com/forums/en-US/wsk/thread/6e17b3bc-0486-4bc2-a6c0-9efbcbda17c5/
>
> which basically says that in order to use the getNameInfo on a Win2000
> computer we have to include the /Wspiapi.h/ include file in the files
> that are using the getNameInfo function, which does not seem to be the
> case in the OmniORB source code (although that I found no direct
> reference to this function in the OmniORB source code).
>
> Anyone has a clue on how to implement this patch ?
>
> Any help apreciated,
> Best regards
> Laurent Testard
> --
> Laurent Testard
> HALIAS
> tel : +33 (0)6 89 06 53 43
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>
-------------- next part --------------
diff -ru omniORB-4.1.3-clean/include/omniORB4/internal/SocketCollection.h omniORB-4.1.3/include/omniORB4/internal/SocketCollection.h
--- omniORB-4.1.3-clean/include/omniORB4/internal/SocketCollection.h 2008-04-03 11:53:53.000000000 +0300
+++ omniORB-4.1.3/include/omniORB4/internal/SocketCollection.h 2009-02-26 12:43:24.396945600 +0200
@@ -201,6 +201,7 @@
# if defined(OMNI_SUPPORT_IPV6)
# include <ws2tcpip.h>
+# include <Wspiapi.h>
# if !defined(IPV6_V6ONLY)
# define IPV6_V6ONLY 27 // Defined to this on Vista
# endif
More information about the omniORB-list
mailing list