Hi all,

IMHO the best solution is to define the version of Windows that supports the C 
compiler before compilation.
For example, if your C compiler supports Vista: set 
HB_USER_CFLAGS=-D_WIN32_WINNT 0x0600

http://msdn.microsoft.com/en-us/library/aa383745%28VS.85%29.aspx

Some structures are defined only in the headers from one version of Windows 
other may change.
IPv6 is supported from Windows Server 2003, Windows XP.
Even calling functions dynamically is necessary data with which they work.
It can make the binary work with earlier versions but the headers and the code 
should be protected by .-
#if _WIN32_WINNT >= 0x0501
        ...
#endif
If not, we can have compile-time errors.
Please, what do you think about this, comments?

--
Xavi

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to