Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: ATL Web Service Client in W2K

2 views
Skip to first unread message

Jianwei Sun

unread,
Sep 8, 2005, 10:30:19 AM9/8/05
to
Check out this thread, somebody has the same problem with you.


http://groups.google.com/group/microsoft.public.vc.atl/browse_frm/thread/852a68809d1d922b/879ef573ae1d76e3#879ef573ae1d76e3

Preference wrote:
> Hello,
>
> I have done a web service client using ATL and Unicode. I have not any
> problem with it when using on Windows XP or 2003. But I can't use it on
> W2000, because I get an error that the entry point to the function
> FreeAddrInfoW in WS2_32.dll is not found.
>
> I have read about some problems with this function and others (GetAddrInfoW)
> in W2000, but I don't know how to solve it. One of my problems is that I
> don't use directly this functions, they are used by ATL library to connect to
> the web service.
>
> Anyone knows how can I solve this problem?
>

Gary Chang[MSFT]

unread,
Sep 9, 2005, 1:07:14 AM9/9/05
to
Hi,

Just as the group thread which JianWei mention figured out, this is known
issue to the VS2003, the problem is in atlmfc\include\atlsocket.inl. This
class now uses the following functions:

FreeAddrInfo()
GettAddrInfo() and such.

and those are only defined for _WIN32_WINNT>=0x0502. ATL code should work
for all supported platforms, which includes Window 2000 platform.

This issue has already been fixed in the VS2005, but currently we do not
have a specific hotfix for VS2003, so in this scenario I suggest you can
try the workaround which is contained in that newsgroup thread, wish it
could also work in your case.


Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! :C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

0 new messages