Message from C, C++ discussions

December 2019

— Can you really do that?


I do compile asm , and link without win32 api , but how can I force to link kernel32

nasm -f win32 cmd.asm
ld -m i386pe cmd.obj -o cmd.exe

— On my system these emulations are supported, you should check on your system and then try linking

— I see you're doing that, what's the problem then?

— It works , but windows_x64_message_box.obj:windows_x64_messag:(.text+0x1d): undefined reference to `VirtualAlloc'

Message permanent page

— Kernel32 problems

— Hey

— #ot, honey


— Are you stupid or what?

— Sorry

— Does anyone have a clean windows 10 without windbg?