On Wednesday 19 August 2015 00:57:20 Claudiu Olteanu wrote: > I tried as well to replace the WSAStringToAddressA with > WSAStringToAddressW but I had to represent the > address as a wchar_t* and and when I wanted to use > mbstowcs_s for conversion (from const char* to wchar_t*) > the compiler couldn't find the declaration to the method > (even though I included the stdlib header). After some > failed attempts I gave up :).
Hi Claudiu I will review the patches again tonight. Please don't use anything from <wchar.h> like mbstowcs or whatever. Just use QString::fromUtf16 and toLocal8Bit or toLatin1, depending on context. I will take a look at the code when I review and suggest how to do it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface