Quantcast
Channel: The Old New Thing
Browsing all 24428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

re: If there were some sort of award for alternative commuting, we would've...

Isn't the lack of 'good' public transport in much of the US due to the cultural impacts of capitalism, postwar wealth, and US-style government? en.wikipedia.org/.../General_Motors_Streetcar_Conspiracy

View Article


Image may be NSFW.
Clik here to view.

re: A brief history of the GetEnvironmentStrings functions

@SimonRev: I actually do not like the clean up job running on MSDN docs. It's nigh impossible now to find out which functions are available on which Windows versions. That's a real problem if you need...

View Article


Image may be NSFW.
Clik here to view.

re: A brief history of the GetEnvironmentStrings functions

Why not simply fix the original mistake?

View Article

Image may be NSFW.
Clik here to view.

re: A brief history of the GetEnvironmentStrings functions

@ThomasX: Because then any binary compiled to import kernel32!GetEnvironmentStrings will fail on the next version of Windows.

View Article

Image may be NSFW.
Clik here to view.

re: A brief history of the GetEnvironmentStrings functions

Looks like the user-specific portion of the PATH environment variable is just HKCU\Environment\Pathtechnet.microsoft.com/.../cc978681.aspx

View Article


Image may be NSFW.
Clik here to view.

re: A brief history of the GetEnvironmentStrings functions

@Maurits, but then you'll have to log off and log on to see the effect.Using the environment variables dialog, which runs as its own dialog from Windows Vista onwards ("Change my environment...

View Article

Image may be NSFW.
Clik here to view.

re: A brief history of the GetEnvironmentStrings functions

@Maurits: If you need to propagate these changes without a reboot/logoff-login, read this: support.microsoft.com/.../104011I'm assuming you know about RegCloseKey and RegFlushKey.

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

This is kind of a fortunate situation, right?  I mean, what if they hadn't messed up the version number as well?

View Article


Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

What do you mean by "C# operates in Unicode, whereas the HTML clipboard format operates in UTF-8." vs UTF-8?  UTF-8 is an encoding of Unicode code points.

View Article


Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

What do you mean by "C# operates in Unicode, whereas the HTML clipboard format operates in UTF-8."?  UTF-8 is an encoding of Unicode code points.

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

"C# operates in UTF-16LE whereas the HTML clipboard format operates in UTF-8."

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

He means Microsoft's OS native UNICODE, which is UTF-16, which he also mentions a few times.

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

@Eitan: Generally when Microsoft people are speaking informally, Unicode means UTF-16 (or, historically, UCS-2). Since Raymond works with Win32 almost exclusively, that's where he's coming from.

View Article


Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

@Eitan: welcome to Raymond's blog. As old timers will tell you, Unicode, within the world of Windows as an encoding, means the encoding that Windows uses internally for Unicode strings. That's UTF16.

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

@Eitan: MSDN considers 'Unicode' (the character set) to be synonymous with UTF-16 (the character encoding).Unfortunately UTF-8 came about after the initial Windows Unicode support.

View Article


Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

@John then you would simply check for the misaligned ending offsets for ALL HTML 0.9 clipboard data, not just 1.0.I'm surprised Raymond didn't point out that simply throwing up an error dialog on HTML...

View Article

Image may be NSFW.
Clik here to view.

re: How do I create a TaskDialog with a progress bar but no cancel button?

@jon:  "Users hate it when ..."Well, SOME users hate it, certainly, and some don't.  Please don't presume to speak for everyone!

View Article


Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

Lovely.You wouldn't believe how many data formats exist that the writing software is supposed to write its name & version when writing the format data.This does tend to make fixing somebody else's...

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

@TheMAZZTer: Raymond did point out that you shouldn't just throw up a dialog. Read the paragraph starting with "Some readers of this Web site".[I didn't say that you should or shouldn't. I'm just...

View Article

Image may be NSFW.
Clik here to view.

re: What is this rogue version 1.0 of the HTML clipboard format?

That's nice advice an all that, but I'll just keep doing what I've always done when I encountered an unsupported version: just paste plain text.The alternative seems a lot of cruft to code, vet and...

View Article
Browsing all 24428 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>