Ignore:
Timestamp:
12/10/2008 5:25:38 AM (6 years ago)
Author:
lowjoel
Message:

Set the Invalid parameter handler to a null handler; all secure CRT calls we make are checked for errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/ShellExt/DllMain.cpp

    r705 r768  
    3030END_MESSAGE_MAP() 
    3131 
     32namespace { 
     33    void InvalidParameterHandler(const wchar_t* /*expression*/, const wchar_t* /*function*/, 
     34        const wchar_t* /*file*/, unsigned int /*line*/, uintptr_t /*pReserved*/) 
     35    { 
     36    } 
     37} 
     38 
    3239BOOL CEraserShellExtApp::InitInstance() 
    3340{ 
     41    _set_invalid_parameter_handler(InvalidParameterHandler); 
    3442    return CWinApp::InitInstance(); 
    3543} 
Note: See TracChangeset for help on using the changeset viewer.