-
Ms Xml
Not really "Just Linux" related, but I ran strings on my notepad.exe that's sitting on my Windows partition and found this.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
name="Microsoft.Windows.Shell.notepad"
processorArchitecture="x86"
version="5.1.0.0"
type="win32"/>
<description>Windows Shell</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
*shrug* So.... Notepad, of all things, has XML in it. Again, I shrug. I guess I'm surprised, but not.
-
Registered Linux User #365191
-
That's what happens when Notepad is written in .Net.
The XML you're seeing is .Net's way of referencing external DLLs ("assemblies" is what they're called) that should be linked into the program at runtime.
Let me guess -- this is either XP's or Server 2003's notepad.exe, right?
-
XP. Is this the default notepad that came with the machine, or did I download it with an update? If this came with an update.... why? Is the new .NET based notepad superior to the old notepad? I think I've got sp2.
-
I wouldn't say it's "superior" (especially when you compare ANY version of notepad to something like gvim, or heck, even just plain vim ), but it's probably a lot easier for Microsoft to maintain. That's probably why they did it -- they realized that it'd take a bit of time to rewrite, but the savings in maintenance costs (not to mention the fact that they don't have to deal with any arcane API calls, and they don't have to manage memory) probably made up for it in the long run.
I will give Microsoft one thing: With .Net, they finally fixed one of the bigger issues with their OS (that issue being the fact that most companies just hire hordes of mediocre programmers, and almost no one that actually knows what they're doing). Now it's a lot harder for the mediocre programmers to shoot themselves in the foot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|