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

Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@Clovis:Of course, without that mess you would get people who would have had their apps look bad on upgrade to Windows XP and then suddenly "Microsoft broke my application".The styled controls were...

View Article


Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@Clovis: Now try (with the help of external programs) to run a pre-Mac OSX application on your lovely OSX. IT looks different too, and OSX can't even run it by itself. So, what exactly is the point you...

View Article


Image may be NSFW.
Clik here to view.

re: Why doesn't SHGetKnownFolderPath return the customized path?

@Not a Win32 programmer: you could use it to check if the current path is the default path, I suppose.

View Article

Image may be NSFW.
Clik here to view.

re: Why was Pinball removed from Windows Vista?

@Anon:According to en.wikipedia.org/.../Talk:High_Performance_File_System, the HPFS codename was "Pinball".About fastfat: Yes, I asked myself the same question more than once, but I do not have an answer.

View Article

Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@Drak: "with the help of external programs" is the crucial difference of course. Apple and Microsoft have taken very different approaches to backwards compatibility. You wouldn't seriously expect...

View Article


Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@Ian: one of my points is that on his Mac, he can't even run software meant for the previous version of the operatin system without needing special tools. Windows allows this without (for the user)...

View Article

Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@xpclient. I have an exe that is manifested to use version 6 of the Common Controls library. Common controls then render using visual styles.Can you post the additional steps so I can reproduce the bug...

View Article

Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@Ian Boyd, Can't repro it reliably as it seems to happen only for certain EXEs (haven't noticed which ones: some 32-bit EXEs or some EXEs which have external manifests or only EXEs with older XP...

View Article


Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

People managed to write applications that depend on memory corruption to work right?  Impressive.

View Article


Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

@Mark: See "defeating debuggers by stack necromancy" for a dangerous sensitive technique that depends on such things doing exactly what they are defined to do.

View Article

Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

If I understand correctly:The successful return value when incorrectly passed an asynchronous handle exists for backward compatibility.The inability to behave correctly when passed an asynchronous...

View Article

Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

The best way to deal with this would be to return an error code if an attempt is made to call these functions with asynchronous file handles (fail-fast instead of undefined behavior). Unfortunately, I...

View Article

Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

Cesar: How do you know that a a file handle is asynchronous?

View Article


Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

@xpclient:  you didn't bother looking further, and you don't really know if it's a bug, but you'll still file it away as another example of why everything Microsoft is broken.

View Article

Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

Do backup handles still require SE_BACKUP_PRIVILEGE and SE_RESTORE_PRIVILEGE, even for working on an user's files only?

View Article


Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

Can NtQueryInformationFile be called from user mode? It allows to get the mode of the handle.

View Article

Image may be NSFW.
Clik here to view.

re: Why do I sometimes get classic buttons and sometimes themed buttons...

DWalker, I didn't say it is not a bug or I don't know. I have experienced the bug for numerous legacy apps which are properly themed on XP. I said I don't care about to repro the bug. And where did I...

View Article


Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

@alegrl: Yes. LoadModule("ntdll") GetProcAddress(hNtDll, "NtQueryInformationFile")I can't find documentation for the particular call that would check though.Even if you do find it, you're walking on...

View Article

Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

2Joshua its not a problem here. Is MS's code, they use undocumented functions more that documented ;)There'is no problem to 'detect' how file handle was opened with...

View Article

Image may be NSFW.
Clik here to view.

re: Why do BackupRead and BackupWrite require synchronous file handles?

Raymond, you could replace all your explanations of Windows oddities with "we did that for backwards compatibility" and you'd be 100% right, though a damn sight less entertaining.  

View Article
Browsing all 24428 articles
Browse latest View live


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