>> Another method, and this is what we use consistently >> in Harbour, is to #define _WIN32_WINNT to 0x0500. > > IMHO this is not good because we may incorporate, now or in the future, > functionality of XP, W7 ...
I also don't understand why do we do it. I've once raised this issue, but I got the feedback that it's right way. Finally I used it recently even in one of my own commits in wapi_gdi_fonts.c. Probably it should be fixed, too. >> Though probably we should rather use GetProcAddress() >> for GetLongPathName() to not break apps running on >> older Windows versions. > > It's more slower and broken the reports of dependences because is called > (anonymous) dynamic. > It's nice for something occasional but not for a wrapper to OS API, IMO. Okay. For me anything is good which solves the actual issues here. I see Przemek fixed it since. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
