[stunnel-users] VS 2010 compilation issue due to shfolder.h

Michal Trojnara Michal.Trojnara at mirt.net
Tue Oct 28 13:47:11 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nnposter at users.sourceforge.net wrote:
> I am running into a compilation problem on MS C/C++ 16 (aka VS
> 2010). Specifically, I am getting the following error due to an
> include that has been added in 5.01:
> 
> C:\Program Files (x86)\Microsoft
> SDKs\Windows\v7.0A\include\shfolder.h(14) : fatal error C1189:
> #error :  shfolder.h/shfolder.lib provide platform independence
> with versions prior to Windows 2000. Use shlobj.h/shell32.lib if
> targetting Windows 2000 or higher.

Thank you.  I'm not going to support anything older than Windows 2000,
so I'll just get rid of shfolder.h and use shlobj.h instead.

Pierre DELAAGE also reported that shfolder.h breaks WCE builds:
https://www.stunnel.org/pipermail/stunnel-users/2014-June/004648.html

Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRPkEkACgkQ/NU+nXTHMtHSBACeIowpmjQzekIq+dcAVCuC1pmX
rHMAnRmJvaqXXBB7MFG6yXUzbABjr5qR
=FfOY
-----END PGP SIGNATURE-----



More information about the stunnel-users mailing list