How to use _crt_secure_no_warnings? I get the following error message error C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. when set Configuration Properties>>C/C++>>Preporocessor>>Preprocessor ...