Updating Resources
The following example copies a dialog box resource from one executable file, Hand.exe, to another, Foot.exe, by following these steps: 1. Use the LoadLibrary function to load the executable file Hand.exe. 
2. Use the FindResource and LoadResource functions to locate and load the dialog box resource. 
3. Use the LockResource function to retrieve a pointer to the dialog box resource data. 
4. Use the BeginUpdateResource function to open an update handle to Foot.exe. 
5. Use the UpdateResource function to copy the dialog box resource from Hand.exe to Foot.exe. 
6. Use the EndUpdateResource function to complete the update.