Replacing Resource Table
-
Hi, I know we can modify a resource using updateresource function... but its like i have a string in CString and i want to copy that to a resource table entry... Does anyone know how to do that Sameer
-
Hi, I know we can modify a resource using updateresource function... but its like i have a string in CString and i want to copy that to a resource table entry... Does anyone know how to do that Sameer
String resources are weird. Strings are stored in blocks of 16. IDs 0-15 are block 0, 16-31 are block 1, etc. So block# == ID >> 4. Use the block # to load the resource (with Find/Load/LockResource APIs). Once you get the block loaded, the format of the block should be obvious (Unicode strings, length-prefixed). --Mike-- Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Sonork-100.19012 Acid_Helm