Re: DnsQuery_W in windows mobile 5

Tech-Archive recommends: Fix windows errors by optimizing your registry



It depends on what type of DNS lookup you're trying to do. If it's a simple
host name->IP address (IPv4 or v6), you can use getnameinfo in Winsock. The
DNSQuery_W is only needed if you're doing like a non-A/AAAA query. If
you're doing that, we really don't have any helpers to do that for you from
the OS side - sorry. You may look around to see if there's helper library
floating around out there that you may be able to recompile for CE (assuming
you're comfortable with whatever licensing agreements they may put on you.)

Again, sorry we don't have a better solution for you. It won't help now but
ROM prices are dropping pretty quickly so future WM devices we can start
including more components like DNSAPI for you.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.

"Ginster" <Ginster@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AFB20AEF-C8DB-476C-99F4-BB342C80BC05@xxxxxxxxxxxxxxxx
Thanks for your reply, can you just calrify for me then, as I'm trying to
write a piece of software for Windows mobile, which requires a DNS lookup,
are there any provided helper classes for this, or am I goign to have to
write the DNS lookup stuff myself?

"John Spaith [MS]" wrote:

I'm afraid we don't include dnsapi.dll (which includes the function you
want) as part of Windows Mobile releases. We do have the API for general
embedded customers, but it wasn't included on WM due to ROM size
constraints. The fact you have the header and lib file is because they
slipped into the SDK by mistake, I apologize for the inconvenience. We
go
through reviews to make sure things like this don't happen and I'll
follow
up on this one for future SDK releases.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All
rights
reserved.

"Ginster" <Ginster@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:779CFC86-4845-4279-8A5D-9ED965EB538C@xxxxxxxxxxxxxxxx
Hi,
Can I use the DnsQuery_W method in a C++ windows mobile app? the only
versions of the header file and dnsapi.lib that I have are under the
platform
sdk - which I'm not convinced is right for this - am I missing
something?

cheers.





.



Relevant Pages

  • Re: P2P SDK for PocketPC?
    ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Just before I installed Windows Mobile 5.0 SDK. ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: DnsQuery_W in windows mobile 5
    ... slipped into the SDK by mistake, ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Can I use the DnsQuery_W method in a C++ windows mobile app? ...
    (microsoft.public.pocketpc.developer)
  • Re: MSXML and VS2005
    ... PPC 2005) SDK. ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.pocketpc.developer)
  • Re: Using COM OutProc server on WinCE
    ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... inproc server should be OK on WM5.0 ... nk.exe (kernel process) and you can't popup UI from nk.exe in CE 6.0. ...
    (microsoft.public.windowsce.app.development)
  • Error when I try to watch online movie or TV programs.
    ... PRODUCT_NAME="Microsoft® Windows® Operating System" ... LEGAL_COPYRIGHT="© Microsoft Corporation. ... All rights ... Apple Computer, Inc. 1992-2004" VERFILEDATEHI="0x0" ...
    (microsoft.public.windows.inetexplorer.ie6.browser)