Compiling first snippet from here : http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx
gives: d:!TCcppcontrol.cpp:4:21: fatal error: strsafe.h: No such file or directory compilation terminated.
Compiling first snippet from here : http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx
gives: d:!TCcppcontrol.cpp:4:21: fatal error: strsafe.h: No such file or directory compilation terminated.
Download this: it's a header file. Copy it to the path "/mingw/include" folder and it will work thats all