Discussion:
[omniORB] omniORB on Windows 2000
Laurent Testard
2009-02-26 00:51:27 UTC
Permalink
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: Laurent_Testard.vcf
Type: text/x-vcard
Size: 242 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090225/93fdfeb8/Laurent_Testard.vcf
Sampo Ahokas
2009-02-26 20:39:56 UTC
Permalink
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
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
Laurent Testard
2009-03-01 20:53:32 UTC
Permalink
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: Laurent_Testard.vcf
Type: text/x-vcard
Size: 242 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090301/8e697c0f/Laurent_Testard.vcf
Duncan Grisby
2009-03-13 18:41:40 UTC
Permalink
Post by Sampo Ahokas
I fixed this by #including Wspiapi.h in
include/omniORB4/internal/SocketCollection.h. The attached patch
should do the trick.
Sorry for the delay. I've applied your patch.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...