mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-26 04:31:39 +08:00
_win_setargv_fix
This commit is contained in:
parent
9999bcf1e5
commit
2b4c580157
11
_win_setargv_fix/readme.txt
Normal file
11
_win_setargv_fix/readme.txt
Normal file
@ -0,0 +1,11 @@
|
||||
пришлось скомпилировать и скопировать файл сюда
|
||||
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64\setargv.obj
|
||||
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\setargv.obj
|
||||
|
||||
использовал вот это
|
||||
https://perldoc.pl/perlwin32
|
||||
|
||||
В итоге:
|
||||
|
||||
cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\crt\src\linkopts\
|
||||
cl.exe /c /I. /D_CRTBLD setargv.cpp
|
15
_win_setargv_fix/setargv.cpp
Normal file
15
_win_setargv_fix/setargv.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
//
|
||||
// setargv.cpp
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// A link option that enables wildcard expansion for the arguments to main().
|
||||
//
|
||||
#include <vcruntime_startup.h>
|
||||
|
||||
|
||||
|
||||
extern "C" _crt_argv_mode __CRTDECL _get_startup_argv_mode()
|
||||
{
|
||||
return _crt_argv_expanded_arguments;
|
||||
}
|
BIN
_win_setargv_fix/x64/setargv.obj
Normal file
BIN
_win_setargv_fix/x64/setargv.obj
Normal file
Binary file not shown.
BIN
_win_setargv_fix/x86/setargv.obj
Normal file
BIN
_win_setargv_fix/x86/setargv.obj
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user