Delphi I would like to make an EXE that has no icon resource

I am currently doing a lot of VCL applications using delphiXE5. The icon resource is not needed for it.

I want to make an EXE that doesn't have an icon resource like a console app, but how do I do that?

+3


source to share


1 answer


Open the file .dproj

in Notepad or similar editor and remove the tags

<Icon_MainIcon>...</Icon_MainIcon>



With this approach, your project will still have version information as well as runtime themes (or custom manifests).

If you want to add the icon back, just go to Project Options -> Application

and upload your file or use the default icon.

+2


source







All Articles