tmplinshi 当前离线
版主
用tiny_impdef.exe生成新的def文件。 Demon 发表于 2012-11-16 18:32
E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>tiny_impdef.exe kernel32.dll --> C:\WINDOWS\system32\kernel32.dll <-- kernel32.def E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>tiny_impdef.exe USER32.dll --> C:\WINDOWS\system32\USER32.dll <-- USER32.def E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>tiny_impdef.exe msvcrt.dll --> C:\WINDOWS\system32\msvcrt.dll <-- msvcrt.def E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>md lib\bak E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>copy lib\*.def lib\bak\ lib\gdi32.def lib\kernel32.def lib\msvcrt.def lib\USER32.def 已复制 4 个文件。 E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>copy /y *.def lib\ kernel32.def msvcrt.def USER32.def 已复制 3 个文件。 E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>tcc -lUSER32 disableX.c -o disableX.exe disableX.c:7: warning: assignment makes pointer from integer without a cast disableX.c:8: warning: assignment makes pointer from integer without a cast E:\Program Files\Tools\tcc-0.9.25-win32-bin\tcc>
TOP
yoyosigua 当前离线
列兵
flaven 当前离线
发现用Alt+F4还是可以退 flaven 发表于 2013-1-21 21:35
seagrt 当前离线
#define _WIN32_WINNT 0x0500 #include <Windows.h> #include <stdio.h> int main( int argc ) { DeleteMenu(GetSystemMenu(GetConsoleWindow(), (argc == 2) ? TRUE : FALSE), SC_CLOSE, MF_BYCOMMAND); DrawMenuBar(GetConsoleWindow()); }复制代码
shh200438 当前离线
渣白 当前离线