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

Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

Regarding the crash in Extract, MSDN has this to say: Beginning with the .NET Framework version 4, the Assembly Cache Viewer (Shfusion.dll) [the implementation that crashed when passing NULL] is...

View Article


Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

@Christian:  Obviously there is value in providing application compatibility, but it's all work that could have been avoided if people didn't write bad code in the first place.  However, there is no...

View Article


Image may be NSFW.
Clik here to view.

re: You can use an OVERLAPPED structure with synchronous I/O, too

@JoakimA: I was wondering about this same exact thing the other week.  I'd say the documentation and support articles are ambiguous; it is really not clear what one should do in this situation.  You...

View Article

Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

[The great thing about making a strict version of the operating system is that nobody will run it. -Raymond] What is the main drawback to making EVERY copy of the OS run "strict"? If it's speed, you...

View Article

Image may be NSFW.
Clik here to view.

re: Registration-free COM the old-fashioned way: The car mp3 player

Singing along to Symphony #5 is fun!

View Article


Image may be NSFW.
Clik here to view.

re: Registration-free COM the old-fashioned way: The car mp3 player

Peter Schickele (of PDQ Bach fame) has a sportscast version of that symphony which is worth a listen. www.youtube.com/watch

View Article

Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

If there aren't business related consequence, sometimes I do wish Microsoft publish News Flash on new entries of Application Compatability Database, much in the same style as Hall of Shame. People who...

View Article

Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

> If you don't want to accommodate compatibility in your code, then go ahead and pass NULL. See how many customers you get. Raymond, as a developer, why do you care about how many customers you get?...

View Article


Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

James, in this case the point may be moot since the crashing extension is deprecated and the worst you'll get is a missing icon. Nothing you'll lose customers over. However, I've been in a situation...

View Article


Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

@James: Microsoft is in the business of selling an operating system that can run my programs. If the next version of their OS doesn't run my programs, I won't use it, until such time as there's an...

View Article

Image may be NSFW.
Clik here to view.

re: You can use an OVERLAPPED structure with synchronous I/O, too

I believe the canonical implementation reads like this (in Delphi): // Returns when <BytesToRead> bytes are read into <Buffer> or when the timer <TimeoutTimer> expires, // whatever...

View Article

Image may be NSFW.
Clik here to view.

re: Microspeak: scoped to

Wrong usage of words exists everywhere but no other language I know except for English offers the style of management gibberish talk that are hinted in the third and the last example. There are much...

View Article

Image may be NSFW.
Clik here to view.

re: Microspeak: scoped to

The very last one reminds me of Phil Ken Sebben's motto (for anyone that's seen Harvey Birdman): "Putting clients first by putting employees first. Immediately after prioritizing fiscal responsibility...

View Article


Image may be NSFW.
Clik here to view.

re: Microspeak: scoped to

@Jeff: It's incredibly confusing when your punctuation is so bad; ". It's" should be ", its" and also "not withstanding" should be "notwithstanding".

View Article

Image may be NSFW.
Clik here to view.

re: I know that an overlapped file handle requires an lpOverlapped, but why...

"It just trusts that you're calling it correctly and builds an asynchronous call to pass into the kernel. If you passed a synchronous handle" I think sync and async are reversed here?

View Article


Image may be NSFW.
Clik here to view.

re: I know that an overlapped file handle requires an lpOverlapped, but why...

So many of these customer questions really seem like variations on the famous Babbage quote: "On two occasions I have been asked, "Pray, Mr. Babbage, if you put into the machine wrong figures, will the...

View Article

Image may be NSFW.
Clik here to view.

re: I know that an overlapped file handle requires an lpOverlapped, but why...

Is it just me, or does passing a spurious NULL to the KERNEL sound like something that should always be caught. I'm just remembering that everything in kernel needs to be soft realtime, handle...

View Article


Image may be NSFW.
Clik here to view.

re: I know that an overlapped file handle requires an lpOverlapped, but why...

They should have kept it async only. Now programmers write programs which hang because everything's waiting on I/O.

View Article

Image may be NSFW.
Clik here to view.

re: I know that an overlapped file handle requires an lpOverlapped, but why...

I'd guess the reason is the ByteOffset parameter of NtReadFile. If you don't pass an overlapped to ReadFile, it sends NULL to the kernel to specify the current file position. And that won't work for an...

View Article

Image may be NSFW.
Clik here to view.

re: There's the interface contract, and there are the implementations of the...

@James: "Raymond, as a developer, why do you care about how many customers you get?" What do you think pays the developer's salary? Yep, that's right - sales of the software they're developing. Do you...

View Article
Browsing all 24428 articles
Browse latest View live


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