Re: Fixing EMF images that no longer work with KB835732
From: Petteri Kurki (Petteri.Kurki_at_no_spam_please.esmi.com)
Date: 04/22/04
- Next message: Petteri Kurki: "Re: Fixing EMF images that no longer work with KB835732"
- Previous message: Gong Da: "List control problem"
- In reply to: Michael Harvey: "Re: Fixing EMF images that no longer work with KB835732"
- Next in thread: Michael Harvey: "Re: Fixing EMF images that no longer work with KB835732"
- Reply: Michael Harvey: "Re: Fixing EMF images that no longer work with KB835732"
- Reply: Carey Gregory: "Re: Fixing EMF images that no longer work with KB835732"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 22 Apr 2004 10:42:53 +0300
"Michael Harvey" <michaelharvey.nospam@sympatico.ca> kirjoitti viestissä
news:Ox4Rit$JEHA.620@tk2msftngp13.phx.gbl...
> All EMF records must a multiple of 4 bytes in length. If you follow this
> rule, I think KB835732 will not break your app. Particularly look at
records
> with strings that could easily be constructed not a multiple of 4 bytes.
Thanks for the reply, Michael!
At which point do you think Windows verifies the record sizes? Load time (I
mean loading from the .EMF file)? I guess it's not worth enumerating the
metafile and fixing the records on the fly before playing them into the
metafile.
It seems most my metafiles contain records with sizes not multiple of 4
bytes. I think what I need is a tool that fixes the metafile by reading the
records, correcting the sizes and writing them to another file with the
correct size.
The problem would then be how hard it is to handle the records without
Windows' help...
-Pete/Finland
- Next message: Petteri Kurki: "Re: Fixing EMF images that no longer work with KB835732"
- Previous message: Gong Da: "List control problem"
- In reply to: Michael Harvey: "Re: Fixing EMF images that no longer work with KB835732"
- Next in thread: Michael Harvey: "Re: Fixing EMF images that no longer work with KB835732"
- Reply: Michael Harvey: "Re: Fixing EMF images that no longer work with KB835732"
- Reply: Carey Gregory: "Re: Fixing EMF images that no longer work with KB835732"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|