The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Oct 26, 2015
Post comments count
0
Post likes count
1
Are there any negative consequences to having a ton of files on the desktop?
Extra work.
Oct 23, 2015
Post comments count
0
Post likes count
1
CoGetInterfaceAndReleaseStream does not mix with smart pointers
Old school meets new school.
Oct 22, 2015
Post comments count
0
Post likes count
2
What are the rules for CoMarshalInterface and CoUnmarshalInterface?
Keeping an eye on the reference gets a little harder.
Oct 21, 2015
Post comments count
0
Post likes count
1
What are the rules for CoMarshalInterThreadInterfaceInStream and CoGetInterfaceAndReleaseStream?
Keeping an eye on the reference.
Oct 20, 2015
Post comments count
0
Post likes count
1
What is COM marshaling and how do I use it?
Keeping an eye on the reference.
Oct 19, 2015
Post comments count
0
Post likes count
1
How do I get the user-customized name of a mapped network drive?
Ask the shell. That is, after all, how the shell displays is.
Oct 16, 2015
Post comments count
0
Post likes count
1
I have the handle to a file; how can I get the file name from the debugger?
Build the call on the stack.
Oct 15, 2015
Post comments count
0
Post likes count
2
What’s the difference between UuidFromString, IIDFromString, CLSIDFromString, GUIDFromString…
Mostly the same if what you have is a stringized GUID; otherwise...
Oct 14, 2015
Post comments count
0
Post likes count
2
The MoveSecurityAttributes policy affects only how Explorer recalculates ACLs when a file is moved; everybody else is on their own
GUI policies tend not to apply to command line tools.