Import DIALOG, TEXTFILE and others resource type... #51
Replies: 4 comments
-
|
creation date: In your package's XML file just specify the type: For example, this is from xpize: Here is how the type="" attribute is interpreted: If it's an integer number, it's assumed to be the numeric representation of a Win32 ResourceType (e.g. Accelerator is 9, Version is 16, and so on). These numbers can start with 0x to unambiguously represent a number in hexadecimal base. If it's an exact match to the Win32 resource type names then that's used. If it matches a ResHacker-style name (one of: "ICON", "ICONDIR", "ICONGROUP", "CURSOR", "CURSORDIR", "CURSORGROUP", "BMP") then these map to IconDirectory, CursorDirectory, and Bitmap respectively. Finally, if it doesn't match anything it's assumed to be a string resource type identifier. If you start the identifier with the " character (you'll have to encode it using " then it will always interpret it as a string identifier even if it matches a Win32 resource type name. HTH. |
Beta Was this translation helpful? Give feedback.
-
|
creation date: thanks. I didn't know it matches ResHacker-style name. |
Beta Was this translation helpful? Give feedback.
-
|
creation date: so if I want to import a STRING TABLE, I have to type: |
Beta Was this translation helpful? Give feedback.
-
|
creation date: No, that won't work. Reshacker-style names are only supported for the types I explicitly listed above. Also, Anolis doesn't support transplanting resources from one ResourceSource to another (i.e. you cannot extract from an RC and place into an EXE in a single go). You must extract the raw bytes of the string table resource first and put them into a separate file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
creation date:
2010-02-15T09:23:53.723-08:00HI, first I have to say that I'm new to this . How can I import DIALOG, TEXTFILE, AVI .... by using Anolis Packager ? Looklike only BITMAP, ICONGROUP could be imported.
Beta Was this translation helpful? Give feedback.
All reactions