From: Steven Edwards Date: Mon, 11 Oct 2004 01:24:22 +0000 (+0000) Subject: Make regexpl build again. (I know I really should fix this to be unicode) X-Git-Tag: backups/new_headers@15094~37^2~148 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e9542274b4fb37c91d0c18a1da07d1480940ec8a Make regexpl build again. (I know I really should fix this to be unicode) BTW this is a kick ass tool that does work over the network. I just tested it editing the registry on the wifes box. svn path=/trunk/; revision=11268 --- diff --git a/rosapps/sysutils/regexpl/ShellCommandDACL.cpp b/rosapps/sysutils/regexpl/ShellCommandDACL.cpp index 6c672fa2176..5f88b87704c 100644 --- a/rosapps/sysutils/regexpl/ShellCommandDACL.cpp +++ b/rosapps/sysutils/regexpl/ShellCommandDACL.cpp @@ -1,4 +1,4 @@ -/* $Id: ShellCommandDACL.cpp,v 1.4 2001/01/13 23:55:36 narnaoud Exp $ +/* $Id: ShellCommandDACL.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $ * * regexpl - Console Registry Explorer * @@ -172,7 +172,7 @@ CheckDACLArgument: DWORD nACECount = sd.GetDACLEntriesCount(); rConsole.Write(_T("DACL has ")); TCHAR Buffer[256]; - rConsole.Write(_itot(nACECount,Buffer,10)); + rConsole.Write(_itoa(nACECount,Buffer,10)); rConsole.Write(_T(" ACEs.\n")); if (nACECount == 0) { @@ -184,7 +184,7 @@ CheckDACLArgument: { rConsole.Write(_T("\n")); rConsole.Write(_T("\tACE Index: ")); - rConsole.Write(_itot(i,Buffer,10)); + rConsole.Write(_itoa(i,Buffer,10)); rConsole.Write(_T("\n")); rConsole.Write(_T("\tACE Type: ")); switch (sd.GetDACLEntry(i)) @@ -217,7 +217,7 @@ CheckDACLArgument: ASSERT(dwError != ERROR_INSUFFICIENT_BUFFER); rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(dwError,Buffer,10)); + rConsole.Write(_itoa(dwError,Buffer,10)); rConsole.Write(_T("\nGetting string representation of SID\n")); } else @@ -238,7 +238,7 @@ CheckDACLArgument: { rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(GetLastError(),Buffer,10)); + rConsole.Write(_itoa(GetLastError(),Buffer,10)); rConsole.Write(_T("\n")); } else @@ -358,7 +358,7 @@ AbortDumpDACL: { rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(dwError,Buffer,10)); + rConsole.Write(_itoa(dwError,Buffer,10)); rConsole.Write(_T("\n")); if (pchName) delete [] pchName; if (pchDomainName) delete [] pchDomainName; diff --git a/rosapps/sysutils/regexpl/ShellCommandDir.cpp b/rosapps/sysutils/regexpl/ShellCommandDir.cpp index e2787811c7a..d181fa11268 100644 --- a/rosapps/sysutils/regexpl/ShellCommandDir.cpp +++ b/rosapps/sysutils/regexpl/ShellCommandDir.cpp @@ -1,4 +1,4 @@ -/* $Id: ShellCommandDir.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $ +/* $Id: ShellCommandDir.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $ * * regexpl - Console Registry Explorer * @@ -269,7 +269,7 @@ CheckDirArgument: { rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(nError,Buffer,10)); + rConsole.Write(_itoa(nError,Buffer,10)); rConsole.Write(_T("\n")); } diff --git a/rosapps/sysutils/regexpl/ShellCommandOwner.cpp b/rosapps/sysutils/regexpl/ShellCommandOwner.cpp index 28f7862ff39..fa5f1bf4890 100644 --- a/rosapps/sysutils/regexpl/ShellCommandOwner.cpp +++ b/rosapps/sysutils/regexpl/ShellCommandOwner.cpp @@ -1,4 +1,4 @@ -/* $Id: ShellCommandOwner.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $ +/* $Id: ShellCommandOwner.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $ * * regexpl - Console Registry Explorer * @@ -176,7 +176,7 @@ CheckOwnerArgument: ASSERT(dwError != ERROR_INSUFFICIENT_BUFFER); rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(dwError,Buffer,10)); + rConsole.Write(_itoa(dwError,Buffer,10)); rConsole.Write(_T("\nGetting string representation of SID\n")); } else @@ -222,7 +222,7 @@ CheckOwnerArgument: { rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(dwError,Buffer,10)); + rConsole.Write(_itoa(dwError,Buffer,10)); rConsole.Write(_T("\n")); if (pchName) delete [] pchName; if (pchDomainName) delete [] pchDomainName; diff --git a/rosapps/sysutils/regexpl/ShellCommandSACL.cpp b/rosapps/sysutils/regexpl/ShellCommandSACL.cpp index 7ce4f7642f5..a80fa304043 100644 --- a/rosapps/sysutils/regexpl/ShellCommandSACL.cpp +++ b/rosapps/sysutils/regexpl/ShellCommandSACL.cpp @@ -1,4 +1,4 @@ -/* $Id: ShellCommandSACL.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $ +/* $Id: ShellCommandSACL.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $ * * regexpl - Console Registry Explorer * @@ -255,7 +255,7 @@ CheckSACLArgument: nACECount = sd.GetSACLEntriesCount(); rConsole.Write(_T("SACL has ")); TCHAR Buffer[256]; - rConsole.Write(_itot(nACECount,Buffer,10)); + rConsole.Write(_itoa(nACECount,Buffer,10)); rConsole.Write(_T(" ACEs.\n")); ASSERT(sizeof(ACL) == 8); rConsole.Write(_T("\n")); @@ -263,7 +263,7 @@ CheckSACLArgument: { rConsole.Write(_T("\n")); rConsole.Write(_T("\tACE Index: ")); - rConsole.Write(_itot(i,Buffer,10)); + rConsole.Write(_itoa(i,Buffer,10)); rConsole.Write(_T("\n")); rConsole.Write(_T("\tAudit Type: ")); BOOL blnFailed, blnSuccessful; @@ -306,7 +306,7 @@ CheckSACLArgument: ASSERT(dwError != ERROR_INSUFFICIENT_BUFFER); rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(dwError,Buffer,10)); + rConsole.Write(_itoa(dwError,Buffer,10)); rConsole.Write(_T("\nGetting string representation of SID\n")); } else @@ -342,7 +342,7 @@ CheckSACLArgument: { rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(GetLastError(),Buffer,10)); + rConsole.Write(_itoa(GetLastError(),Buffer,10)); rConsole.Write(_T("\n")); } else diff --git a/rosapps/sysutils/regexpl/ShellCommandValue.cpp b/rosapps/sysutils/regexpl/ShellCommandValue.cpp index 6c107634a87..7016b78a921 100644 --- a/rosapps/sysutils/regexpl/ShellCommandValue.cpp +++ b/rosapps/sysutils/regexpl/ShellCommandValue.cpp @@ -1,4 +1,4 @@ -/* $Id: ShellCommandValue.cpp,v 1.4 2001/01/13 23:55:37 narnaoud Exp $ +/* $Id: ShellCommandValue.cpp,v 1.5 2004/10/11 01:24:22 sedwards Exp $ * * regexpl - Console Registry Explorer * @@ -399,7 +399,7 @@ CheckValueArgument: { rConsole.Write(_T("Error ")); TCHAR Buffer[256]; - rConsole.Write(_itot(nError,Buffer,10)); + rConsole.Write(_itoa(nError,Buffer,10)); rConsole.Write(_T("\n")); if (nError == ERROR_FILE_NOT_FOUND) { diff --git a/rosapps/sysutils/regexpl/ph.h b/rosapps/sysutils/regexpl/ph.h index 7f28b5f25f3..54337ade5a0 100644 --- a/rosapps/sysutils/regexpl/ph.h +++ b/rosapps/sysutils/regexpl/ph.h @@ -1,4 +1,4 @@ -/* $Id: ph.h,v 1.4 2002/09/09 22:48:03 sedwards Exp $ */ +/* $Id: ph.h,v 1.5 2004/10/11 01:24:22 sedwards Exp $ */ // ph.h : include file for standard system include files, // or project specific include files that are used frequently, but @@ -24,6 +24,8 @@ #include #include #include +#include +#include #define ASSERT assert #ifdef _DEBUG #define VERIFY ASSERT