Igor
Mon Apr 26 16:03:14 CDT 2004
"Yen" <fryen@ebay.com> wrote in message
news:86d24412.0404231637.70f7a012@posting.google.com
> I'd like to rewrite the __security_error_handler function in
> secfail.c, but I don't want to compile the VC7 libraries and
> redistribute it. I've tried to just declare __security_error_handler
> in my program but it continues to execute the code in the VC7 library.
> Any suggestions would be appreciated. Thanks!
You can install your own hanler with __set_security_error_handler. See
http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vctchCompilerSecurityChecksInDepth.asp
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken