Changeset 38636 in vbox for trunk/src/VBox/Main/src-server/win
- Timestamp:
- Sep 5, 2011 1:49:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/svcmain.cpp
r37683 r38636 159 159 LPCTSTR lpCmdLine = GetCommandLine(); /* this line necessary for _ATL_MIN_CRT */ 160 160 161 /* Need to parse the command line before initializing the VBox runtime. */ 161 /* 162 * Need to parse the command line before initializing the VBox runtime. 163 */ 162 164 TCHAR szTokens[] = _T("-/"); 163 165 LPCTSTR lpszToken = FindOneOf(lpCmdLine, szTokens); … … 188 190 * the support driver. 189 191 */ 190 RTR3Init(); 192 int argc = __argc; 193 char **argv = __argv; 194 RTR3InitExe(argc, &argv, 0); 191 195 192 196 /* Note that all options are given lowercase/camel case/uppercase to … … 233 237 234 238 RTGETOPTSTATE GetOptState; 235 int vrc = RTGetOptInit(&GetOptState, __argc, __argv, &s_aOptions[0], RT_ELEMENTS(s_aOptions), 1, 0 /*fFlags*/);239 int vrc = RTGetOptInit(&GetOptState, argc, argv, &s_aOptions[0], RT_ELEMENTS(s_aOptions), 1, 0 /*fFlags*/); 236 240 AssertRC(vrc); 237 241
Note:
See TracChangeset
for help on using the changeset viewer.