NO

Author Topic: Manifest resource editing corrupt resource  (Read 3367 times)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2099
Manifest resource editing corrupt resource
« on: June 13, 2006, 10:58:41 PM »
Hi Pelle,
Withe the Beta #2 if I try to edit the manifest XML resource it gets corrupt.
Generally some random characters are appended to the end.
The only way to solve the problem is to edit externally then reimport it in the resources.
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Manifest resource editing corrupt resource
« Reply #1 on: June 15, 2006, 04:19:43 PM »
This code is actually untouched since 2003-02-02. If you are lucky it works. DWORD alignment in resource files affects the data size, so up to three random characters might appear. The alignment works for other resource types, with some internal structure that gives the actual size, but this is just a plain text file. I will try to fix it...
/Pelle

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2099
Manifest resource editing corrupt resource
« Reply #2 on: June 15, 2006, 04:49:30 PM »
Thanks.
For now I'll try to write DWORD aligned  :lol:
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide