Updated Windows application to support new desktop action framework. Updated project to build with Visual Studio 2005.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2006-08-15 13:34:15 +00:00
parent dc51984cce
commit bafb261228
16 changed files with 886 additions and 734 deletions

View File

@@ -27,7 +27,7 @@ using namespace Alfresco;
*/
String Integer::toHexString( const unsigned int ival) {
char buf[32];
itoa(ival, buf, 16);
_itoa(ival, buf, 16);
return String(buf);
}
@@ -52,7 +52,7 @@ String Integer::toHexString( BUFPTR ptr) {
*/
String Integer::toString( unsigned int ival, unsigned int radix) {
char buf[32];
itoa(ival, buf, radix);
_itoa(ival, buf, radix);
return String(buf);
}

View File

@@ -695,7 +695,7 @@ void String::append (const String& str) {
*/
void String::append (const unsigned int ival) {
wchar_t buf[32];
swprintf( buf, L"%u", ival);
swprintf( buf, 32, L"%u", ival);
m_string += buf;
}
@@ -707,7 +707,7 @@ void String::append (const unsigned int ival) {
*/
void String::append (const unsigned long lval) {
wchar_t buf[32];
swprintf( buf, L"%lu", lval);
swprintf( buf, 32, L"%lu", lval);
m_string += buf;
}
@@ -719,7 +719,7 @@ void String::append (const unsigned long lval) {
*/
void String::append (const LONG64 l64val) {
wchar_t buf[32];
swprintf( buf, L"%I64u", l64val);
swprintf( buf, 32, L"%I64u", l64val);
m_string += buf;
}