Changeset cab471b in nscp for trunk/modules/CheckEventLog


Ignore:
Timestamp:
03/01/05 22:42:27 (8 years ago)
Author:
Michael Medin <michael@…>
Children:
4f2e807
Parents:
f7f536b
Message:
  • Improved thread safety in Core + Added exception handling and logging in PDH code
  • Various fixes all over the place + New module for check size of files/directories
  • Changed build to Dynamic link
  • Added regular expression support for EventLog? checker
Location:
trunk/modules/CheckEventLog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/CheckEventLog/CheckEventLog.cpp

    rf7f536b rcab471b  
    225225    try { 
    226226      std::string s = p.second; 
    227       NSC_DEBUG_MSG_STD("Attempting to make regexp from: " + s); 
    228227      item.eventSourceRegExp_ = s; 
    229       NSC_DEBUG_MSG_STD("success..."); 
    230228    } catch (const boost::bad_expression e) { 
    231229      item.eventSourceRegExp_ = ""; 
     
    250248  } else 
    251249    throw (std::string)"Invalid argument: " + p.first; 
     250   
    252251} 
    253252void addToQueryBundle(searchQuery::searchQueryBundle &bundle, std::string arg) { 
     
    301300    return ""; 
    302301  NSCAPI::returnCodes rCode = NSCAPI::returnOK; 
    303   std::list<std::string> args = NSCHelper::makelist(argLen, char_args); 
     302  std::list<std::string> args = NSCHelper::arrayBuffer2list(argLen, char_args); 
    304303  if (args.size() < 2) 
    305304    return "Missing argument"; 
  • trunk/modules/CheckEventLog/CheckEventLog.vcproj

    rf7f536b rcab471b  
    120120        Name="VCCLCompilerTool" 
    121121        AdditionalIncludeDirectories="../include;../../include" 
    122         PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_STLP_USE_STATIC_LIB;SYSTRAY_EXPORTS" 
    123         RuntimeLibrary="0" 
     122        PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;BOOST_REGEX_DYN_LINK" 
     123        RuntimeLibrary="2" 
    124124        UsePrecompiledHeader="3" 
    125125        WarningLevel="3" 
Note: See TracChangeset for help on using the changeset viewer.