kurt said:
i'm reasonably certain those calls are encoded in the wmf file
itself... wmf files are essentially collections of gdi api calls
... i'm not sure why anything would need to call additional gdi
methods when parsing a wmf file...
Files don't parse or render themselves - especially data files.
Something must read the header, parse the records, and then perform
the GDI calls.
presumably you use the most up to date version of IE on 98
Version 6.0.2800.1106
try renaming a wmf file to bmp and loading it in your browser
Using IE:
File -> Open -> Browse -> some_file.wmf
Dial box opens: Title bar = File Download
- Some files can harm your computer ...
- file name: some_file.wmf
- file type: Coreldraw 9.0 Graphic
- from: c:\what-ever
- would you like to open the file or save it?
- Open Save Cancel
Select Open
- flurry of disk activity for about 10 seconds
- IE window seems frozen (unresponsive)
- window declared dead
- close window
My_Computer -> C:\what-ever -> double-click some_file.wmf
- ACDSee V3.1b opens and renders the wmf image.
- Repeat above (My_computer -> C:\what-ever), except double-click
on browsercheck.wmf as the target
- ACDSee opens browsercheck.wmf without any fuss
- displays what looks like a blank page.
- Open browsercheck.wmf with CorelDraw 9.0
- Corel renders a screen full of boxes of various sizes
- looks like modern art
- 162 boxes to be precise
Rename some_file.wmf -> some_file.bmp
- double-click on some_file.bmp
- Paint dialog box opens
- c:\some_file.bmp
- Paint cannot read this file
- This is not a valid bitmap file, or it's format is
not currently supported
Use IE to open some_file.bmp
- Paint dialog box opens with same message as above
Rename some_file.bmp -> some_file.gif
- file now has Corel PhotoPaint Icon
- double-click some_file.gif
- Corel Photopaint starts, opens the file - and renders it
properly (!)
- Use IE to open some_file.gif
- Corel Photo-paint starts and renders the file
Rename some_file.gif -> some_file.htm
- double-click some_file.htm
- IE starts, displays pages of random text
Funny think is that directory listings of wmf files show up with
CorelDraw icons in the Name column but have "ACDSee WMF Image" in the
Type column.
This test will have to be performed on a Win98 system where no other
image-processing software has been installed in order to see how IE
handles WMF files (if it handles them at all).
i have no idea what would happen, but i suspect that IE will
determine the right thing to do based on the header...
Well, I can see no evidence that IE can (all by itself) open a WMF
file on a Win-98 system no matter how you try to trick it.
well, if your typical home computer user never makes mistakes,
never connects to the net,
Um, you're saying that Win-XP is more able to protect itself from the
big-bad internet than Win-98 is?
the principle of least privileges helps to protect users not
just from crackers but also from themselves...
XP was designed for corporate desktops where sys-admins could control
what end-users could and couldn't do with their machine. XP was also
designed for remote admin, easy deployment, remote config, etc. None
of that stuff makes it inherently "better" for home users, and
arguable all of that stuff makes it more vulnerable when connected to
the internet via your typical home cable or DSL modem.
Funny how XP needs third party protection like AdAware, Spybot, etc,
even though it's got all that nifty privledge-based user accounts.