DnsQuery crashing on successful NAPTR queries
We are porting an application using DnsQuery from XP to Vista. Every single successful NAPTR query crashes inside dnsapi.lib under Vista (but not under XP). However, unsuccesful NAPTR queries function normally (i.e. do not crash). We tried to use directly DnsQuery_A, DnsQuery_W and DnsQuery_UTF8 and did get more lucky.
Would anyone have an idea how to resolve this?
Thanks

