Date: Sat, 12 Jun 1999 10:05:23 +0200 From: Johan Prins Subject: NASM/ALINK and entry point... Hi! I saw a program at your site (setentry) that sets the entry point of a PE executable. Yesterday I found a fix for that... Try this: nasm -f win32 alink source -oPE -entry main where main is a label at the entrypoint (you need to define it also as a global) --------------- [section .text] GLOBAL main main: xor eax, eax ; more code --------------- This will set the entry point to the 'xor eax,eax'.. bye! johan