standalone-ruby 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -16
- data/bin/standalone-ruby +1 -1
- data/lib/data/bat-cmd/default_bat_cmd.txt +9 -9
- data/lib/data/c_compilers/tcc/include/_mingw.h +54 -0
- data/lib/data/c_compilers/tcc/include/assert.h +71 -0
- data/lib/data/c_compilers/tcc/include/conio.h +159 -0
- data/lib/data/c_compilers/tcc/include/ctype.h +232 -0
- data/lib/data/c_compilers/tcc/include/dir.h +26 -0
- data/lib/data/c_compilers/tcc/include/direct.h +95 -0
- data/lib/data/c_compilers/tcc/include/dirent.h +96 -0
- data/lib/data/c_compilers/tcc/include/dos.h +110 -0
- data/lib/data/c_compilers/tcc/include/errno.h +117 -0
- data/lib/data/c_compilers/tcc/include/excpt.h +20 -0
- data/lib/data/c_compilers/tcc/include/fcntl.h +135 -0
- data/lib/data/c_compilers/tcc/include/fenv.h +85 -0
- data/lib/data/c_compilers/tcc/include/float.h +224 -0
- data/lib/data/c_compilers/tcc/include/inttypes.h +275 -0
- data/lib/data/c_compilers/tcc/include/io.h +296 -0
- data/lib/data/c_compilers/tcc/include/limits.h +115 -0
- data/lib/data/c_compilers/tcc/include/locale.h +100 -0
- data/lib/data/c_compilers/tcc/include/malloc.h +87 -0
- data/lib/data/c_compilers/tcc/include/math.h +438 -0
- data/lib/data/c_compilers/tcc/include/mem.h +8 -0
- data/lib/data/c_compilers/tcc/include/memory.h +9 -0
- data/lib/data/c_compilers/tcc/include/process.h +158 -0
- data/lib/data/c_compilers/tcc/include/setjmp.h +72 -0
- data/lib/data/c_compilers/tcc/include/share.h +44 -0
- data/lib/data/c_compilers/tcc/include/signal.h +111 -0
- data/lib/data/c_compilers/tcc/include/stdarg.h +16 -0
- data/lib/data/c_compilers/tcc/include/stdbool.h +10 -0
- data/lib/data/c_compilers/tcc/include/stddef.h +26 -0
- data/lib/data/c_compilers/tcc/include/stdint.h +184 -0
- data/lib/data/c_compilers/tcc/include/stdio.h +413 -0
- data/lib/data/c_compilers/tcc/include/stdlib.h +482 -0
- data/lib/data/c_compilers/tcc/include/string.h +206 -0
- data/lib/data/c_compilers/tcc/include/sys/fcntl.h +8 -0
- data/lib/data/c_compilers/tcc/include/sys/file.h +9 -0
- data/lib/data/c_compilers/tcc/include/sys/locking.h +52 -0
- data/lib/data/c_compilers/tcc/include/sys/stat.h +190 -0
- data/lib/data/c_compilers/tcc/include/sys/time.h +3 -0
- data/lib/data/c_compilers/tcc/include/sys/timeb.h +82 -0
- data/lib/data/c_compilers/tcc/include/sys/types.h +118 -0
- data/lib/data/c_compilers/tcc/include/sys/unistd.h +9 -0
- data/lib/data/c_compilers/tcc/include/sys/utime.h +89 -0
- data/lib/data/c_compilers/tcc/include/tchar.h +367 -0
- data/lib/data/c_compilers/tcc/include/time.h +219 -0
- data/lib/data/c_compilers/tcc/include/unistd.h +10 -0
- data/lib/data/c_compilers/tcc/include/values.h +4 -0
- data/lib/data/c_compilers/tcc/include/varargs.h +11 -0
- data/lib/data/c_compilers/tcc/include/wchar.h +318 -0
- data/lib/data/c_compilers/tcc/include/wctype.h +127 -0
- data/lib/data/c_compilers/tcc/include/winapi/basetsd.h +119 -0
- data/lib/data/c_compilers/tcc/include/winapi/basetyps.h +144 -0
- data/lib/data/c_compilers/tcc/include/winapi/winbase.h +1852 -0
- data/lib/data/c_compilers/tcc/include/winapi/wincon.h +207 -0
- data/lib/data/c_compilers/tcc/include/winapi/windef.h +240 -0
- data/lib/data/c_compilers/tcc/include/winapi/windows.h +176 -0
- data/lib/data/c_compilers/tcc/include/winapi/winerror.h +1054 -0
- data/lib/data/c_compilers/tcc/include/winapi/wingdi.h +2843 -0
- data/lib/data/c_compilers/tcc/include/winapi/winnetwk.h +346 -0
- data/lib/data/c_compilers/tcc/include/winapi/winnls.h +651 -0
- data/lib/data/c_compilers/tcc/include/winapi/winnt.h +2667 -0
- data/lib/data/c_compilers/tcc/include/winapi/winreg.h +159 -0
- data/lib/data/c_compilers/tcc/include/winapi/winsvc.h +309 -0
- data/lib/data/c_compilers/tcc/include/winapi/winuser.h +3472 -0
- data/lib/data/c_compilers/tcc/include/winapi/winver.h +133 -0
- data/lib/data/c_compilers/tcc/lib/gdi32.def +337 -0
- data/lib/data/c_compilers/tcc/lib/kernel32.def +763 -0
- data/lib/data/c_compilers/tcc/lib/libtcc1.a +0 -0
- data/lib/data/c_compilers/tcc/lib/msvcrt.def +782 -0
- data/lib/data/c_compilers/tcc/lib/user32.def +654 -0
- data/lib/data/c_compilers/tcc/tcc.exe +0 -0
- data/lib/data/exe_templates/launcher_stub.c +30 -0
- data/lib/data/exe_templates/launcher_stub.cpp +31 -0
- data/lib/data/launcher_templates/vbs/default_vbs.txt +7 -0
- data/lib/data/launcher_templates/vbs/vbs_gui.txt +8 -0
- data/lib/data/resource_files/default.rc +17 -0
- data/lib/data/tcc/include/_mingw.h +54 -54
- data/lib/data/tcc/include/assert.h +71 -71
- data/lib/data/tcc/include/conio.h +159 -159
- data/lib/data/tcc/include/ctype.h +232 -232
- data/lib/data/tcc/include/dir.h +26 -26
- data/lib/data/tcc/include/direct.h +95 -95
- data/lib/data/tcc/include/dirent.h +96 -96
- data/lib/data/tcc/include/dos.h +110 -110
- data/lib/data/tcc/include/errno.h +117 -117
- data/lib/data/tcc/include/excpt.h +20 -20
- data/lib/data/tcc/include/fcntl.h +135 -135
- data/lib/data/tcc/include/fenv.h +85 -85
- data/lib/data/tcc/include/float.h +224 -224
- data/lib/data/tcc/include/inttypes.h +275 -275
- data/lib/data/tcc/include/io.h +296 -296
- data/lib/data/tcc/include/limits.h +115 -115
- data/lib/data/tcc/include/locale.h +100 -100
- data/lib/data/tcc/include/malloc.h +87 -87
- data/lib/data/tcc/include/math.h +438 -438
- data/lib/data/tcc/include/mem.h +8 -8
- data/lib/data/tcc/include/memory.h +9 -9
- data/lib/data/tcc/include/process.h +158 -158
- data/lib/data/tcc/include/setjmp.h +72 -72
- data/lib/data/tcc/include/share.h +44 -44
- data/lib/data/tcc/include/signal.h +111 -111
- data/lib/data/tcc/include/stdarg.h +16 -16
- data/lib/data/tcc/include/stdbool.h +10 -10
- data/lib/data/tcc/include/stddef.h +26 -26
- data/lib/data/tcc/include/stdint.h +184 -184
- data/lib/data/tcc/include/stdio.h +413 -413
- data/lib/data/tcc/include/stdlib.h +482 -482
- data/lib/data/tcc/include/string.h +206 -206
- data/lib/data/tcc/include/sys/fcntl.h +8 -8
- data/lib/data/tcc/include/sys/file.h +9 -9
- data/lib/data/tcc/include/sys/locking.h +52 -52
- data/lib/data/tcc/include/sys/stat.h +190 -190
- data/lib/data/tcc/include/sys/time.h +3 -3
- data/lib/data/tcc/include/sys/timeb.h +82 -82
- data/lib/data/tcc/include/sys/types.h +118 -118
- data/lib/data/tcc/include/sys/unistd.h +9 -9
- data/lib/data/tcc/include/sys/utime.h +89 -89
- data/lib/data/tcc/include/tchar.h +367 -367
- data/lib/data/tcc/include/time.h +219 -219
- data/lib/data/tcc/include/unistd.h +10 -10
- data/lib/data/tcc/include/values.h +4 -4
- data/lib/data/tcc/include/varargs.h +11 -11
- data/lib/data/tcc/include/wchar.h +318 -318
- data/lib/data/tcc/include/wctype.h +127 -127
- data/lib/data/tcc/include/winapi/basetsd.h +119 -119
- data/lib/data/tcc/include/winapi/basetyps.h +144 -144
- data/lib/data/tcc/include/winapi/winbase.h +1852 -1852
- data/lib/data/tcc/include/winapi/wincon.h +207 -207
- data/lib/data/tcc/include/winapi/windef.h +240 -240
- data/lib/data/tcc/include/winapi/windows.h +176 -176
- data/lib/data/tcc/include/winapi/winerror.h +1054 -1054
- data/lib/data/tcc/include/winapi/wingdi.h +2843 -2843
- data/lib/data/tcc/include/winapi/winnetwk.h +346 -346
- data/lib/data/tcc/include/winapi/winnls.h +651 -651
- data/lib/data/tcc/include/winapi/winnt.h +2667 -2667
- data/lib/data/tcc/include/winapi/winreg.h +159 -159
- data/lib/data/tcc/include/winapi/winsvc.h +309 -309
- data/lib/data/tcc/include/winapi/winuser.h +3472 -3472
- data/lib/data/tcc/include/winapi/winver.h +133 -133
- data/lib/data/tcc/lib/gdi32.def +337 -337
- data/lib/data/tcc/lib/kernel32.def +763 -763
- data/lib/data/tcc/lib/msvcrt.def +782 -782
- data/lib/data/tcc/lib/user32.def +654 -654
- data/lib/data/vbs/default_vbs.txt +7 -7
- data/lib/data/vbs/vbs_gui.txt +8 -8
- data/lib/displayer.rb +66 -0
- data/lib/exe_packer.rb +82 -0
- data/lib/launcher.rb +84 -0
- data/lib/launcher_handler.rb +53 -0
- data/lib/logger_helper.rb +24 -0
- data/lib/parameter_parser.rb +210 -0
- data/lib/ruby_copy.rb +26 -0
- data/lib/sfx_generator.rb +11 -0
- data/lib/standalone_ruby.rb +2 -2
- data/lib/utils/displayer.rb +20 -17
- data/lib/utils/exe_packer.rb +5 -1
- data/lib/utils/launcher.rb +1 -1
- data/lib/utils/launcher_handler.rb +110 -110
- data/lib/utils/parameter_parser.rb +7 -2
- data/lib/utils/ruby_copy.rb +0 -1
- data/lib/version/version.rb +3 -0
- metadata +87 -4
@@ -0,0 +1,654 @@
|
|
1
|
+
LIBRARY user32.dll
|
2
|
+
|
3
|
+
EXPORTS
|
4
|
+
ActivateKeyboardLayout
|
5
|
+
AdjustWindowRect
|
6
|
+
AdjustWindowRectEx
|
7
|
+
AlignRects
|
8
|
+
AllowSetForegroundWindow
|
9
|
+
AnimateWindow
|
10
|
+
AnyPopup
|
11
|
+
AppendMenuA
|
12
|
+
AppendMenuW
|
13
|
+
ArrangeIconicWindows
|
14
|
+
AttachThreadInput
|
15
|
+
BeginDeferWindowPos
|
16
|
+
BeginPaint
|
17
|
+
BlockInput
|
18
|
+
BringWindowToTop
|
19
|
+
BroadcastSystemMessage
|
20
|
+
BroadcastSystemMessageA
|
21
|
+
BroadcastSystemMessageW
|
22
|
+
CalcChildScroll
|
23
|
+
CallMsgFilter
|
24
|
+
CallMsgFilterA
|
25
|
+
CallMsgFilterW
|
26
|
+
CallNextHookEx
|
27
|
+
CallWindowProcA
|
28
|
+
CallWindowProcW
|
29
|
+
CascadeChildWindows
|
30
|
+
CascadeWindows
|
31
|
+
ChangeClipboardChain
|
32
|
+
ChangeDisplaySettingsA
|
33
|
+
ChangeDisplaySettingsExA
|
34
|
+
ChangeDisplaySettingsExW
|
35
|
+
ChangeDisplaySettingsW
|
36
|
+
ChangeMenuA
|
37
|
+
ChangeMenuW
|
38
|
+
CharLowerA
|
39
|
+
CharLowerBuffA
|
40
|
+
CharLowerBuffW
|
41
|
+
CharLowerW
|
42
|
+
CharNextA
|
43
|
+
CharNextExA
|
44
|
+
CharNextExW
|
45
|
+
CharNextW
|
46
|
+
CharPrevA
|
47
|
+
CharPrevExA
|
48
|
+
CharPrevExW
|
49
|
+
CharPrevW
|
50
|
+
CharToOemA
|
51
|
+
CharToOemBuffA
|
52
|
+
CharToOemBuffW
|
53
|
+
CharToOemW
|
54
|
+
CharUpperA
|
55
|
+
CharUpperBuffA
|
56
|
+
CharUpperBuffW
|
57
|
+
CharUpperW
|
58
|
+
CheckDlgButton
|
59
|
+
CheckMenuItem
|
60
|
+
CheckMenuRadioItem
|
61
|
+
CheckRadioButton
|
62
|
+
ChildWindowFromPoint
|
63
|
+
ChildWindowFromPointEx
|
64
|
+
ClientThreadConnect
|
65
|
+
ClientToScreen
|
66
|
+
ClipCursor
|
67
|
+
CloseClipboard
|
68
|
+
CloseDesktop
|
69
|
+
CloseWindow
|
70
|
+
CloseWindowStation
|
71
|
+
CopyAcceleratorTableA
|
72
|
+
CopyAcceleratorTableW
|
73
|
+
CopyIcon
|
74
|
+
CopyImage
|
75
|
+
CopyRect
|
76
|
+
CountClipboardFormats
|
77
|
+
CreateAcceleratorTableA
|
78
|
+
CreateAcceleratorTableW
|
79
|
+
CreateCaret
|
80
|
+
CreateCursor
|
81
|
+
CreateDesktopA
|
82
|
+
CreateDesktopW
|
83
|
+
CreateDialogIndirectParamA
|
84
|
+
CreateDialogIndirectParamW
|
85
|
+
CreateDialogParamA
|
86
|
+
CreateDialogParamW
|
87
|
+
CreateIcon
|
88
|
+
CreateIconFromResource
|
89
|
+
CreateIconFromResourceEx
|
90
|
+
CreateIconIndirect
|
91
|
+
CreateMDIWindowA
|
92
|
+
CreateMDIWindowW
|
93
|
+
CreateMenu
|
94
|
+
CreatePopupMenu
|
95
|
+
CreateWindowExA
|
96
|
+
CreateWindowExW
|
97
|
+
CreateWindowStationA
|
98
|
+
CreateWindowStationW
|
99
|
+
DdeAbandonTransaction
|
100
|
+
DdeAccessData
|
101
|
+
DdeAddData
|
102
|
+
DdeClientTransaction
|
103
|
+
DdeCmpStringHandles
|
104
|
+
DdeConnect
|
105
|
+
DdeConnectList
|
106
|
+
DdeCreateDataHandle
|
107
|
+
DdeCreateStringHandleA
|
108
|
+
DdeCreateStringHandleW
|
109
|
+
DdeDisconnect
|
110
|
+
DdeDisconnectList
|
111
|
+
DdeEnableCallback
|
112
|
+
DdeFreeDataHandle
|
113
|
+
DdeFreeStringHandle
|
114
|
+
DdeGetData
|
115
|
+
DdeGetLastError
|
116
|
+
DdeImpersonateClient
|
117
|
+
DdeInitializeA
|
118
|
+
DdeInitializeW
|
119
|
+
DdeKeepStringHandle
|
120
|
+
DdeNameService
|
121
|
+
DdePostAdvise
|
122
|
+
DdeQueryConvInfo
|
123
|
+
DdeQueryNextServer
|
124
|
+
DdeQueryStringA
|
125
|
+
DdeQueryStringW
|
126
|
+
DdeReconnect
|
127
|
+
DdeSetQualityOfService
|
128
|
+
DdeSetUserHandle
|
129
|
+
DdeUnaccessData
|
130
|
+
DdeUninitialize
|
131
|
+
DefDlgProcA
|
132
|
+
DefDlgProcW
|
133
|
+
DefFrameProcA
|
134
|
+
DefFrameProcW
|
135
|
+
DefMDIChildProcA
|
136
|
+
DefMDIChildProcW
|
137
|
+
DefWindowProcA
|
138
|
+
DefWindowProcW
|
139
|
+
DeferWindowPos
|
140
|
+
DeleteMenu
|
141
|
+
DestroyAcceleratorTable
|
142
|
+
DestroyCaret
|
143
|
+
DestroyCursor
|
144
|
+
DestroyIcon
|
145
|
+
DestroyMenu
|
146
|
+
DestroyWindow
|
147
|
+
DialogBoxIndirectParamA
|
148
|
+
DialogBoxIndirectParamW
|
149
|
+
DialogBoxParamA
|
150
|
+
DialogBoxParamW
|
151
|
+
DispatchMessageA
|
152
|
+
DispatchMessageW
|
153
|
+
DlgDirListA
|
154
|
+
DlgDirListComboBoxA
|
155
|
+
DlgDirListComboBoxW
|
156
|
+
DlgDirListW
|
157
|
+
DlgDirSelectComboBoxExA
|
158
|
+
DlgDirSelectComboBoxExW
|
159
|
+
DlgDirSelectExA
|
160
|
+
DlgDirSelectExW
|
161
|
+
DragDetect
|
162
|
+
DragObject
|
163
|
+
DrawAnimatedRects
|
164
|
+
DrawCaption
|
165
|
+
DrawCaptionTempA
|
166
|
+
DrawCaptionTempW
|
167
|
+
DrawEdge
|
168
|
+
DrawFocusRect
|
169
|
+
DrawFrame
|
170
|
+
DrawFrameControl
|
171
|
+
DrawIcon
|
172
|
+
DrawIconEx
|
173
|
+
DrawMenuBar
|
174
|
+
DrawMenuBarTemp
|
175
|
+
DrawStateA
|
176
|
+
DrawStateW
|
177
|
+
DrawTextA
|
178
|
+
DrawTextExA
|
179
|
+
DrawTextExW
|
180
|
+
DrawTextW
|
181
|
+
EditWndProc
|
182
|
+
EmptyClipboard
|
183
|
+
EnableMenuItem
|
184
|
+
EnableScrollBar
|
185
|
+
EnableWindow
|
186
|
+
EndDeferWindowPos
|
187
|
+
EndDialog
|
188
|
+
EndMenu
|
189
|
+
EndPaint
|
190
|
+
EndTask
|
191
|
+
EnumChildWindows
|
192
|
+
EnumClipboardFormats
|
193
|
+
EnumDesktopWindows
|
194
|
+
EnumDesktopsA
|
195
|
+
EnumDesktopsW
|
196
|
+
EnumDisplayDevicesA
|
197
|
+
EnumDisplayDevicesW
|
198
|
+
EnumDisplayMonitors
|
199
|
+
EnumDisplaySettingsA
|
200
|
+
EnumDisplaySettingsExA
|
201
|
+
EnumDisplaySettingsExW
|
202
|
+
EnumDisplaySettingsW
|
203
|
+
EnumPropsA
|
204
|
+
EnumPropsExA
|
205
|
+
EnumPropsExW
|
206
|
+
EnumPropsW
|
207
|
+
EnumThreadWindows
|
208
|
+
EnumWindowStationsA
|
209
|
+
EnumWindowStationsW
|
210
|
+
EnumWindows
|
211
|
+
EqualRect
|
212
|
+
ExcludeUpdateRgn
|
213
|
+
ExitWindowsEx
|
214
|
+
FillRect
|
215
|
+
FindWindowA
|
216
|
+
FindWindowExA
|
217
|
+
FindWindowExW
|
218
|
+
FindWindowW
|
219
|
+
FlashWindow
|
220
|
+
FlashWindowEx
|
221
|
+
FrameRect
|
222
|
+
FreeDDElParam
|
223
|
+
GetActiveWindow
|
224
|
+
GetAltTabInfo
|
225
|
+
GetAncestor
|
226
|
+
GetAsyncKeyState
|
227
|
+
GetCapture
|
228
|
+
GetCaretBlinkTime
|
229
|
+
GetCaretPos
|
230
|
+
GetClassInfoA
|
231
|
+
GetClassInfoExA
|
232
|
+
GetClassInfoExW
|
233
|
+
GetClassInfoW
|
234
|
+
GetClassLongA
|
235
|
+
GetClassLongW
|
236
|
+
GetClassNameA
|
237
|
+
GetClassNameW
|
238
|
+
GetClassWord
|
239
|
+
GetClientRect
|
240
|
+
GetClipCursor
|
241
|
+
GetClipboardData
|
242
|
+
GetClipboardFormatNameA
|
243
|
+
GetClipboardFormatNameW
|
244
|
+
GetClipboardOwner
|
245
|
+
GetClipboardSequenceNumber
|
246
|
+
GetClipboardViewer
|
247
|
+
GetComboBoxInfo
|
248
|
+
GetCursor
|
249
|
+
GetCursorInfo
|
250
|
+
GetCursorPos
|
251
|
+
GetDC
|
252
|
+
GetDCEx
|
253
|
+
GetDesktopWindow
|
254
|
+
GetDialogBaseUnits
|
255
|
+
GetDlgCtrlID
|
256
|
+
GetDlgItem
|
257
|
+
GetDlgItemInt
|
258
|
+
GetDlgItemTextA
|
259
|
+
GetDlgItemTextW
|
260
|
+
GetDoubleClickTime
|
261
|
+
GetFocus
|
262
|
+
GetForegroundWindow
|
263
|
+
GetGUIThreadInfo
|
264
|
+
GetGuiResources
|
265
|
+
GetIconInfo
|
266
|
+
GetInputDesktop
|
267
|
+
GetInputState
|
268
|
+
GetInternalWindowPos
|
269
|
+
GetKBCodePage
|
270
|
+
GetKeyNameTextA
|
271
|
+
GetKeyNameTextW
|
272
|
+
GetKeyState
|
273
|
+
GetKeyboardLayout
|
274
|
+
GetKeyboardLayoutList
|
275
|
+
GetKeyboardLayoutNameA
|
276
|
+
GetKeyboardLayoutNameW
|
277
|
+
GetKeyboardState
|
278
|
+
GetKeyboardType
|
279
|
+
GetLastActivePopup
|
280
|
+
GetListBoxInfo
|
281
|
+
GetMenu
|
282
|
+
GetMenuBarInfo
|
283
|
+
GetMenuCheckMarkDimensions
|
284
|
+
GetMenuContextHelpId
|
285
|
+
GetMenuDefaultItem
|
286
|
+
GetMenuInfo
|
287
|
+
GetMenuItemCount
|
288
|
+
GetMenuItemID
|
289
|
+
GetMenuItemInfoA
|
290
|
+
GetMenuItemInfoW
|
291
|
+
GetMenuItemRect
|
292
|
+
GetMenuState
|
293
|
+
GetMenuStringA
|
294
|
+
GetMenuStringW
|
295
|
+
GetMessageA
|
296
|
+
GetMessageExtraInfo
|
297
|
+
GetMessagePos
|
298
|
+
GetMessageTime
|
299
|
+
GetMessageW
|
300
|
+
GetMonitorInfoA
|
301
|
+
GetMonitorInfoW
|
302
|
+
GetMouseMovePoints
|
303
|
+
GetMouseMovePointsEx
|
304
|
+
GetNextDlgGroupItem
|
305
|
+
GetNextDlgTabItem
|
306
|
+
GetNextQueueWindow
|
307
|
+
GetOpenClipboardWindow
|
308
|
+
GetParent
|
309
|
+
GetPriorityClipboardFormat
|
310
|
+
GetProcessDefaultLayout
|
311
|
+
GetProcessWindowStation
|
312
|
+
GetPropA
|
313
|
+
GetPropW
|
314
|
+
GetQueueStatus
|
315
|
+
GetScrollBarInfo
|
316
|
+
GetScrollInfo
|
317
|
+
GetScrollPos
|
318
|
+
GetScrollRange
|
319
|
+
GetShellWindow
|
320
|
+
GetSubMenu
|
321
|
+
GetSysColor
|
322
|
+
GetSysColorBrush
|
323
|
+
GetSystemMenu
|
324
|
+
GetSystemMetrics
|
325
|
+
GetTabbedTextExtentA
|
326
|
+
GetTabbedTextExtentW
|
327
|
+
GetThreadDesktop
|
328
|
+
GetTitleBarInfo
|
329
|
+
GetTopWindow
|
330
|
+
GetUpdateRect
|
331
|
+
GetUpdateRgn
|
332
|
+
GetUserObjectInformationA
|
333
|
+
GetUserObjectInformationW
|
334
|
+
GetUserObjectSecurity
|
335
|
+
GetWindow
|
336
|
+
GetWindowContextHelpId
|
337
|
+
GetWindowDC
|
338
|
+
GetWindowInfo
|
339
|
+
GetWindowLongA
|
340
|
+
GetWindowLongW
|
341
|
+
GetWindowModuleFileNameA
|
342
|
+
GetWindowModuleFileNameW
|
343
|
+
GetWindowPlacement
|
344
|
+
GetWindowRect
|
345
|
+
GetWindowRgn
|
346
|
+
GetWindowTextA
|
347
|
+
GetWindowTextLengthA
|
348
|
+
GetWindowTextLengthW
|
349
|
+
GetWindowTextW
|
350
|
+
GetWindowThreadProcessId
|
351
|
+
GetWindowWord
|
352
|
+
GrayStringA
|
353
|
+
GrayStringW
|
354
|
+
HasSystemSleepStarted
|
355
|
+
HideCaret
|
356
|
+
HiliteMenuItem
|
357
|
+
IMPGetIMEA
|
358
|
+
IMPGetIMEW
|
359
|
+
IMPQueryIMEA
|
360
|
+
IMPQueryIMEW
|
361
|
+
IMPSetIMEA
|
362
|
+
IMPSetIMEW
|
363
|
+
ImpersonateDdeClientWindow
|
364
|
+
InSendMessage
|
365
|
+
InSendMessageEx
|
366
|
+
InflateRect
|
367
|
+
InitSharedTable
|
368
|
+
InitTask
|
369
|
+
InsertMenuA
|
370
|
+
InsertMenuItemA
|
371
|
+
InsertMenuItemW
|
372
|
+
InsertMenuW
|
373
|
+
InternalGetWindowText
|
374
|
+
IntersectRect
|
375
|
+
InvalidateRect
|
376
|
+
InvalidateRgn
|
377
|
+
InvertRect
|
378
|
+
IsCharAlphaA
|
379
|
+
IsCharAlphaNumericA
|
380
|
+
IsCharAlphaNumericW
|
381
|
+
IsCharAlphaW
|
382
|
+
IsCharLowerA
|
383
|
+
IsCharLowerW
|
384
|
+
IsCharUpperA
|
385
|
+
IsCharUpperW
|
386
|
+
IsChild
|
387
|
+
IsClipboardFormatAvailable
|
388
|
+
IsDialogMessage
|
389
|
+
IsDialogMessageA
|
390
|
+
IsDialogMessageW
|
391
|
+
IsDlgButtonChecked
|
392
|
+
IsHungThread
|
393
|
+
IsIconic
|
394
|
+
IsMenu
|
395
|
+
IsRectEmpty
|
396
|
+
IsWindow
|
397
|
+
IsWindowEnabled
|
398
|
+
IsWindowUnicode
|
399
|
+
IsWindowVisible
|
400
|
+
IsZoomed
|
401
|
+
KillTimer
|
402
|
+
LoadAcceleratorsA
|
403
|
+
LoadAcceleratorsW
|
404
|
+
LoadBitmapA
|
405
|
+
LoadBitmapW
|
406
|
+
LoadCursorA
|
407
|
+
LoadCursorFromFileA
|
408
|
+
LoadCursorFromFileW
|
409
|
+
LoadCursorW
|
410
|
+
LoadIconA
|
411
|
+
LoadIconW
|
412
|
+
LoadImageA
|
413
|
+
LoadImageW
|
414
|
+
LoadKeyboardLayoutA
|
415
|
+
LoadKeyboardLayoutW
|
416
|
+
LoadMenuA
|
417
|
+
LoadMenuIndirectA
|
418
|
+
LoadMenuIndirectW
|
419
|
+
LoadMenuW
|
420
|
+
LoadStringA
|
421
|
+
LoadStringW
|
422
|
+
LockSetForegroundWindow
|
423
|
+
LockWindowStation
|
424
|
+
LockWindowUpdate
|
425
|
+
LookupIconIdFromDirectory
|
426
|
+
LookupIconIdFromDirectoryEx
|
427
|
+
MapDialogRect
|
428
|
+
MapVirtualKeyA
|
429
|
+
MapVirtualKeyExA
|
430
|
+
MapVirtualKeyExW
|
431
|
+
MapVirtualKeyW
|
432
|
+
MapWindowPoints
|
433
|
+
MenuItemFromPoint
|
434
|
+
MessageBeep
|
435
|
+
MessageBoxA
|
436
|
+
MessageBoxExA
|
437
|
+
MessageBoxExW
|
438
|
+
MessageBoxIndirectA
|
439
|
+
MessageBoxIndirectW
|
440
|
+
MessageBoxW
|
441
|
+
ModifyAccess
|
442
|
+
ModifyMenuA
|
443
|
+
ModifyMenuW
|
444
|
+
MonitorFromPoint
|
445
|
+
MonitorFromRect
|
446
|
+
MonitorFromWindow
|
447
|
+
MoveWindow
|
448
|
+
MsgWaitForMultipleObjects
|
449
|
+
MsgWaitForMultipleObjectsEx
|
450
|
+
NotifyWinEvent
|
451
|
+
OemKeyScan
|
452
|
+
OemToCharA
|
453
|
+
OemToCharBuffA
|
454
|
+
OemToCharBuffW
|
455
|
+
OemToCharW
|
456
|
+
OffsetRect
|
457
|
+
OpenClipboard
|
458
|
+
OpenDesktopA
|
459
|
+
OpenDesktopW
|
460
|
+
OpenIcon
|
461
|
+
OpenInputDesktop
|
462
|
+
OpenWindowStationA
|
463
|
+
OpenWindowStationW
|
464
|
+
PackDDElParam
|
465
|
+
PaintDesktop
|
466
|
+
PeekMessageA
|
467
|
+
PeekMessageW
|
468
|
+
PlaySoundEvent
|
469
|
+
PostMessageA
|
470
|
+
PostMessageW
|
471
|
+
PostQuitMessage
|
472
|
+
PostThreadMessageA
|
473
|
+
PostThreadMessageW
|
474
|
+
PtInRect
|
475
|
+
RealChildWindowFromPoint
|
476
|
+
RealGetWindowClass
|
477
|
+
RedrawWindow
|
478
|
+
RegisterClassA
|
479
|
+
RegisterClassExA
|
480
|
+
RegisterClassExW
|
481
|
+
RegisterClassW
|
482
|
+
RegisterClipboardFormatA
|
483
|
+
RegisterClipboardFormatW
|
484
|
+
RegisterDeviceNotificationA
|
485
|
+
RegisterDeviceNotificationW
|
486
|
+
RegisterHotKey
|
487
|
+
RegisterLogonProcess
|
488
|
+
RegisterNetworkCapabilities
|
489
|
+
RegisterSystemThread
|
490
|
+
RegisterTasklist
|
491
|
+
RegisterWindowMessageA
|
492
|
+
RegisterWindowMessageW
|
493
|
+
ReleaseCapture
|
494
|
+
ReleaseDC
|
495
|
+
RemoveMenu
|
496
|
+
RemovePropA
|
497
|
+
RemovePropW
|
498
|
+
ReplyMessage
|
499
|
+
ReuseDDElParam
|
500
|
+
ScreenToClient
|
501
|
+
ScrollDC
|
502
|
+
ScrollWindow
|
503
|
+
ScrollWindowEx
|
504
|
+
SendDlgItemMessageA
|
505
|
+
SendDlgItemMessageW
|
506
|
+
SendIMEMessageExA
|
507
|
+
SendIMEMessageExW
|
508
|
+
SendInput
|
509
|
+
SendMessageA
|
510
|
+
SendMessageCallbackA
|
511
|
+
SendMessageCallbackW
|
512
|
+
SendMessageTimeoutA
|
513
|
+
SendMessageTimeoutW
|
514
|
+
SendMessageW
|
515
|
+
SendNotifyMessageA
|
516
|
+
SendNotifyMessageW
|
517
|
+
SetActiveWindow
|
518
|
+
SetCapture
|
519
|
+
SetCaretBlinkTime
|
520
|
+
SetCaretPos
|
521
|
+
SetClassLongA
|
522
|
+
SetClassLongW
|
523
|
+
SetClassWord
|
524
|
+
SetClipboardData
|
525
|
+
SetClipboardViewer
|
526
|
+
SetCursor
|
527
|
+
SetCursorPos
|
528
|
+
SetDebugErrorLevel
|
529
|
+
SetDeskWallpaper
|
530
|
+
SetDesktopBitmap
|
531
|
+
SetDlgItemInt
|
532
|
+
SetDlgItemTextA
|
533
|
+
SetDlgItemTextW
|
534
|
+
SetDoubleClickTime
|
535
|
+
SetFocus
|
536
|
+
SetForegroundWindow
|
537
|
+
SetInternalWindowPos
|
538
|
+
SetKeyboardState
|
539
|
+
SetLastErrorEx
|
540
|
+
SetLogonNotifyWindow
|
541
|
+
SetMenu
|
542
|
+
SetMenuContextHelpId
|
543
|
+
SetMenuDefaultItem
|
544
|
+
SetMenuInfo
|
545
|
+
SetMenuItemBitmaps
|
546
|
+
SetMenuItemInfoA
|
547
|
+
SetMenuItemInfoW
|
548
|
+
SetMessageExtraInfo
|
549
|
+
SetMessageQueue
|
550
|
+
SetParent
|
551
|
+
SetProcessDefaultLayout
|
552
|
+
SetProcessWindowStation
|
553
|
+
SetPropA
|
554
|
+
SetPropW
|
555
|
+
SetRect
|
556
|
+
SetRectEmpty
|
557
|
+
SetScrollInfo
|
558
|
+
SetScrollPos
|
559
|
+
SetScrollRange
|
560
|
+
SetShellWindow
|
561
|
+
SetSysColors
|
562
|
+
SetSysColorsTemp
|
563
|
+
SetSystemCursor
|
564
|
+
SetThreadDesktop
|
565
|
+
SetTimer
|
566
|
+
SetUserObjectInformationA
|
567
|
+
SetUserObjectInformationW
|
568
|
+
SetUserObjectSecurity
|
569
|
+
SetWinEventHook
|
570
|
+
SetWindowContextHelpId
|
571
|
+
SetWindowFullScreenState
|
572
|
+
SetWindowLongA
|
573
|
+
SetWindowLongW
|
574
|
+
SetWindowPlacement
|
575
|
+
SetWindowPos
|
576
|
+
SetWindowRgn
|
577
|
+
SetWindowTextA
|
578
|
+
SetWindowTextW
|
579
|
+
SetWindowWord
|
580
|
+
SetWindowsHookA
|
581
|
+
SetWindowsHookExA
|
582
|
+
SetWindowsHookExW
|
583
|
+
SetWindowsHookW
|
584
|
+
ShowCaret
|
585
|
+
ShowCursor
|
586
|
+
ShowOwnedPopups
|
587
|
+
ShowScrollBar
|
588
|
+
ShowWindow
|
589
|
+
ShowWindowAsync
|
590
|
+
SubtractRect
|
591
|
+
SwapMouseButton
|
592
|
+
SwitchDesktop
|
593
|
+
SwitchToThisWindow
|
594
|
+
SysErrorBox
|
595
|
+
SystemParametersInfoA
|
596
|
+
SystemParametersInfoW
|
597
|
+
TabbedTextOutA
|
598
|
+
TabbedTextOutW
|
599
|
+
TileChildWindows
|
600
|
+
TileWindows
|
601
|
+
ToAscii
|
602
|
+
ToAsciiEx
|
603
|
+
ToUnicode
|
604
|
+
ToUnicodeEx
|
605
|
+
TrackMouseEvent
|
606
|
+
TrackPopupMenu
|
607
|
+
TrackPopupMenuEx
|
608
|
+
TranslateAccelerator
|
609
|
+
TranslateAcceleratorA
|
610
|
+
TranslateAcceleratorW
|
611
|
+
TranslateMDISysAccel
|
612
|
+
TranslateMessage
|
613
|
+
UnhookWinEvent
|
614
|
+
UnhookWindowsHook
|
615
|
+
UnhookWindowsHookEx
|
616
|
+
UnionRect
|
617
|
+
UnloadKeyboardLayout
|
618
|
+
UnlockWindowStation
|
619
|
+
UnpackDDElParam
|
620
|
+
UnregisterClassA
|
621
|
+
UnregisterClassW
|
622
|
+
UnregisterDeviceNotification
|
623
|
+
UnregisterHotKey
|
624
|
+
UpdateWindow
|
625
|
+
UserClientDllInitialize
|
626
|
+
UserIsSystemResumeAutomatic
|
627
|
+
UserSetDeviceHoldState
|
628
|
+
UserSignalProc
|
629
|
+
UserTickleTimer
|
630
|
+
ValidateRect
|
631
|
+
ValidateRgn
|
632
|
+
VkKeyScanA
|
633
|
+
VkKeyScanExA
|
634
|
+
VkKeyScanExW
|
635
|
+
VkKeyScanW
|
636
|
+
WINNLSEnableIME
|
637
|
+
WINNLSGetEnableStatus
|
638
|
+
WINNLSGetIMEHotkey
|
639
|
+
WNDPROC_CALLBACK
|
640
|
+
WaitForInputIdle
|
641
|
+
WaitMessage
|
642
|
+
WinHelpA
|
643
|
+
WinHelpW
|
644
|
+
WinOldAppHackoMatic
|
645
|
+
WindowFromDC
|
646
|
+
WindowFromPoint
|
647
|
+
YieldTask
|
648
|
+
_SetProcessDefaultLayout
|
649
|
+
keybd_event
|
650
|
+
mouse_event
|
651
|
+
wsprintfA
|
652
|
+
wsprintfW
|
653
|
+
wvsprintfA
|
654
|
+
wvsprintfW
|
Binary file
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#include <windows.h>
|
2
|
+
|
3
|
+
int main() {
|
4
|
+
char command[] = "wscript.exe launcher.vbs";
|
5
|
+
|
6
|
+
STARTUPINFO si = {0};
|
7
|
+
PROCESS_INFORMATION pi = {0};
|
8
|
+
|
9
|
+
if (CreateProcess(
|
10
|
+
NULL,
|
11
|
+
command,
|
12
|
+
NULL,
|
13
|
+
NULL,
|
14
|
+
FALSE,
|
15
|
+
0,
|
16
|
+
NULL,
|
17
|
+
NULL,
|
18
|
+
&si,
|
19
|
+
&pi
|
20
|
+
)) {
|
21
|
+
WaitForSingleObject(pi.hProcess, INFINITE);
|
22
|
+
|
23
|
+
CloseHandle(pi.hProcess);
|
24
|
+
CloseHandle(pi.hThread);
|
25
|
+
} else {
|
26
|
+
|
27
|
+
}
|
28
|
+
|
29
|
+
return 0;
|
30
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#include <windows.h>
|
2
|
+
#include <iostream>
|
3
|
+
|
4
|
+
int main() {
|
5
|
+
const char* command = "wscript.exe LAUNCHER_FILE";
|
6
|
+
|
7
|
+
STARTUPINFO si = {0};
|
8
|
+
PROCESS_INFORMATION pi = {0};
|
9
|
+
|
10
|
+
if (CreateProcess(
|
11
|
+
NULL,
|
12
|
+
const_cast<LPSTR>(command),
|
13
|
+
NULL,
|
14
|
+
NULL,
|
15
|
+
FALSE,
|
16
|
+
0,
|
17
|
+
NULL,
|
18
|
+
NULL,
|
19
|
+
&si,
|
20
|
+
&pi
|
21
|
+
)) {
|
22
|
+
WaitForSingleObject(pi.hProcess, INFINITE);
|
23
|
+
|
24
|
+
CloseHandle(pi.hProcess);
|
25
|
+
CloseHandle(pi.hThread);
|
26
|
+
} else {
|
27
|
+
std::cerr << "CreateProcess failed with error code: " << GetLastError() << std::endl;
|
28
|
+
}
|
29
|
+
|
30
|
+
return 0;
|
31
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
Set objShell = CreateObject("WScript.Shell")
|
2
|
+
|
3
|
+
rubyPath = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & "/STANDALONE_RUBY_PATH"
|
4
|
+
scriptPath = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & "/STANDALONE_MAIN_FILE"
|
5
|
+
|
6
|
+
command = """" & rubyPath & """ """ & scriptPath & """"
|
7
|
+
objShell.Run command, 1, False
|
@@ -0,0 +1,8 @@
|
|
1
|
+
Set objShell = CreateObject("WScript.Shell")
|
2
|
+
|
3
|
+
rubyPath = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & "\STANDALONE_RUBY_PATH"
|
4
|
+
scriptPath = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & "\STANDALONE_MAIN_FILE"
|
5
|
+
|
6
|
+
command = """" & rubyPath & """ """ & scriptPath & """"
|
7
|
+
|
8
|
+
objShell.Run command, 1, False
|