The flag is part of the image header, so you need to modify that using editbin.
editbin /LARGEADDRESSAWARE <your exe>
Use dumpbin /headers
and look for the presence of Application can handle large (>2GB) addresses
to see if the flag is set or not.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…