If its 32 bit MASM, try a "start:" label and "end start" at the end of the code.
You may have to tell some more about what you are writing.
Use GetmoduleHandle,0
in eax will be base address of your module. Than,find EntryPoint in PE file in memory.
Hi Dave,
Welcome to the Masm Forum.
Hutch is right. You can try this one :
include \masm32\include\masm32rt.inc
.code
start:
invoke crt_printf,CTXT("Application start address = %X"),\
ADDR start
invoke ExitProcess,0
END start
You should build a console application to view the output.
deleted