Resource "Injection"
-
Is there a way to programmatically "inject" resources into a program without recompiling from the source? In particular I have a pre-compiled program without an appicon, and I want to allow an end-user to supply his or her own appicon, such as in self-extracting archives.
A little learning is a dangerous thing; Drink deep, or taste not, the Pierian Spring. —Alexander Pope
-
Is there a way to programmatically "inject" resources into a program without recompiling from the source? In particular I have a pre-compiled program without an appicon, and I want to allow an end-user to supply his or her own appicon, such as in self-extracting archives.
A little learning is a dangerous thing; Drink deep, or taste not, the Pierian Spring. —Alexander Pope
You can use
BeginUpdateResource()
and the related APIs to edit resources in a PE.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?
-
You can use
BeginUpdateResource()
and the related APIs to edit resources in a PE.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?