[sldev] Viewer Problems

Nicholaz Beresford nicholaz at blueflash.cc
Wed Jul 18 09:16:55 PDT 2007


Now, thinking about it being highly unlikely that
the compiler can't convert between U16 and WORD,
I guess instead of being way off, you might have
hit the nail on the head.

In any case, changing the calls/structures to those
with a specific narrow/wide character type will be
a good idea nonetheless.


Nick


Second Life from the inside out:
http://nicholaz-beresford.blogspot.com/


EponymousDylan Ra wrote:
> I might be way off, but it seems most likely that for some reason 
> windns.h is not recognising the #undef UNICODE (ugh, btw), meaning that 
> the string in DNS_RECORD is 16-bit rather than 8-bit, and hence can't 
> be converted to a std::string.
>  
> A quick test of this theory would be to replace DNS_RECORD with 
> DNS_RECORDA, and DnsQuery with DnsQuery_A, and see if that fixes the 
> problem. 
>  
> E
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html


More information about the SLDev mailing list