FunctionPackage: windowsToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version

set-application-icon

Arguments: existing-exe icon-file &key (resource-name "ACLICON")

This function is useful for replacing the application icon inside an executable file for delivery. It simply calls set-exe-icons-nt if the operating system is a member of the NT branch of Windows (which includes win2000 and XP), and otherwise calls set-exe-icons. Refer to those functions for complete information.

The resource-name argument is passed as the icon-name argument to those functions, and existing-exe and icon-file are passed as the similarly named arguments of those functions.

On the non-NT branch, set-application-icon handles the creation of a temporary exe path to pass to set-exe-icons, and the deletion of the no-longer-used copy of the exe file. It leaves a single resulting exe file at the original existing-exe path.

This function is called directly by generate-application when it is passed a non-null icon-file argument, as described in delivery.htm. It is also called by the IDE's File | Build Project Distribution command when the current project has a non-null icon-file property.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page was not revised from the 8.0 page.
Created 2009.7.29.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version