This looks as if the virus has corrupted your EXE. In this case, you have to get a new copy of the EXE, or simply recompile as you did.
>Dear Experts
>
>Sometimes when I run my.exe, it shows following error message no. 1309
>
>"File my.exe is not object file"
>
>I have reached on this conculsion that this is the result of virus attack on my.exe.
>
>So I run Norton Antivirus or Pc-Cilin. After cleaning viruses when I run my.exe again, it show another dialouge box
>
>Do program :
>Files of type : program (*.fxp)
>
>May it requires any fxp file. Then I have to create my.exe agian.
>
>Is there anyother solution to get rid of to create exe again.
>
>Please help
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)