Changeset 561 for trunk/src/activeqt/control/qaxservermain.cpp
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/activeqt/control/qaxservermain.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the ActiveQt framework of the Qt Toolkit. … … 67 68 extern bool qAxIsServer; 68 69 extern bool qAxOutProcServer; 69 extern charqAxModuleFilename[MAX_PATH];70 extern wchar_t qAxModuleFilename[MAX_PATH]; 70 71 extern QString qAxInit(); 71 72 extern void qAxCleanup(); … … 106 107 { 107 108 dwThreadID = GetCurrentThreadId(); 108 hEventShutdown = CreateEvent A(0, false, false, 0);109 hEventShutdown = CreateEvent(0, false, false, 0); 109 110 if (hEventShutdown == 0) 110 111 return false; … … 204 205 205 206 qAxOutProcServer = true; 206 GetModuleFileName A(0, qAxModuleFilename, MAX_PATH-1);207 GetModuleFileName(0, qAxModuleFilename, MAX_PATH); 207 208 qAxInstance = hInstance; 208 209 209 QByteArray cmdParam; 210 QT_WA({ 211 LPTSTR cmdline = GetCommandLineW(); 212 cmdParam = QString::fromUtf16((const ushort *)cmdline).toLocal8Bit(); 213 }, { 214 cmdParam = GetCommandLineA(); 215 }); 216 210 QByteArray cmdParam = QString::fromWCharArray(GetCommandLine()).toLocal8Bit(); 217 211 QList<QByteArray> cmds = cmdParam.split(' '); 218 212 QByteArray unprocessed; … … 254 248 break; 255 249 } else { 256 unprocessed += cmds.at(i) + " ";250 unprocessed += cmds.at(i) + ' '; 257 251 } 258 252 }
Note:
See TracChangeset
for help on using the changeset viewer.