Changeset 3527e99 in nscp for trunk/include/REGSettings.h


Ignore:
Timestamp:
11/28/07 20:33:21 (5 years ago)
Author:
Michael Medin <michael@…>
Children:
42edcda
Parents:
5ee4e31
Message:

2007-11-28 MickeM

  • Fixed some UNICODE issues with process-listings + Added an error message if the "detected" process enumeration method is not available. + Fixed some more unicode issues Password encrypt/decrypt: #107
  • Fixed unicode issues with "external programs" #109
  • Fixed so default string for check_nt:s FILEAGE command is "delta" is 5 minutes ago (and not absolute ie. 1970...), Issue #39 + added support for <date strings> to check_nt:s FILEAGE command, Issue #39

append: .<date string> if you want to use a "custom date" like so: ... -v FILEAGE -l c:
windows,Date: %Y-%m-%d %H:%M:%S" -w 5 -c 6 ...
Only the above listed %<char> works, and default to 0 so might not be to pretty but works...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/REGSettings.h

    raeadfda r3527e99  
    119119          ret = reinterpret_cast<LPCTSTR>(bData); 
    120120        } else { 
    121           std::cout << _T("getString_::Buffersize to small: ") << lpszPath << "." << lpszKey << ": " << type << std::endl; 
     121          std::wcout << _T("getString_::Buffersize to small: ") << lpszPath << "." << lpszKey << ": " << type << std::endl; 
    122122        } 
    123123      } else if (type == REG_DWORD) { 
     
    125125        ret = strEx::itos(dw); 
    126126      } else { 
    127         std::cout << _T("getString_::Unsupported type: ") << lpszPath << "." << lpszKey << ": " << type << std::endl; 
     127        std::wcout << _T("getString_::Unsupported type: ") << lpszPath << "." << lpszKey << ": " << type << std::endl; 
    128128      } 
    129129    } else if (lRet == ERROR_FILE_NOT_FOUND) { 
     
    177177          ret.push_back(std::wstring(lpValueName)); 
    178178        } else { 
    179           std::cout << _T("getValues_::Error: ") << bRet << ": " << lpszPath << _T("[") << i << _T("]") << std::endl; 
     179          std::wcout << _T("getValues_::Error: ") << bRet << ": " << lpszPath << _T("[") << i << _T("]") << std::endl; 
    180180 
    181181        } 
     
    205205          ret.push_back(std::wstring(lpValueName)); 
    206206        } else { 
    207           std::cout << _T("getSubKeys_::Error: ") << bRet << _T(": ") << lpszPath << _T("[") << i << _T("]") << std::endl; 
     207          std::wcout << _T("getSubKeys_::Error: ") << bRet << _T(": ") << lpszPath << _T("[") << i << _T("]") << std::endl; 
    208208        } 
    209209      } 
Note: See TracChangeset for help on using the changeset viewer.