forked from RamonUnch/AltSnap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkvcc6.bat
More file actions
15 lines (9 loc) · 745 Bytes
/
mkvcc6.bat
File metadata and controls
15 lines (9 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rc hooks.rc
rc altsnap.rc
@set DEFINES=/D "DWORD_PTR=DWORD" /D "LONG_PTR=INT_PTR" /D "ULONG_PTR=DWORD"
@set DEFINES= %DEFINES% /D "NO_VISTA" /D "NO_OLEAPI" /D "DECORATED_HOOKS_DLL_PROCS"
cl /c /Tp altsnap.c /nologo /Ox /Oi /Os /Gy %DEFINES%
link altsnap.obj altsnap.res /nodefaultlib /filealign:512 /subsystem:windows /OPT:REF /OPT:ICF,7 /LARGEADDRESSAWARE /machine:I386 /entry:unfuckWinMain kernel32.lib user32.lib shell32.lib advapi32.lib gdi32.lib comctl32.lib
cl /c /Tp hooks.c /nologo /Ox /Oi /Os /Gy /GS- /LD %DEFINES%
link hooks.obj hooks.res /nodefaultlib /DLL /filealign:512 /subsystem:windows /OPT:REF /OPT:ICF,7 /LARGEADDRESSAWARE /machine:I386 /entry:DllMain kernel32.lib user32.lib gdi32.lib
@set DEFINES=