main.idc
#include <idc.idc> static main() { auto ea = GetEntryPoint(GetEntryOrdinal(0)); Message("dword: 0x%x", Dword(ea)); }