Re: DnsQuery_W in windows mobile 5
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Feb 2007 08:59:32 -0800
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.
.
- References:
- Re: DnsQuery_W in windows mobile 5
- From: John Spaith [MS]
- Re: DnsQuery_W in windows mobile 5
- Prev by Date: Re: CAB containing another CAB
- Next by Date: Re: Bringing Window To Top
- Previous by thread: Re: DnsQuery_W in windows mobile 5
- Next by thread: Re: How to create a Today Screen item using VB.net 2005?
- Index(es):
Relevant Pages
|