Sign in
Under The Hood - Matt Pietrek
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
October 2009
(2)
August 2009
(2)
May 2009
(3)
April 2009
(1)
January 2009
(3)
November 2008
(1)
October 2008
(1)
January 2008
(1)
July 2007
(1)
June 2007
(1)
March 2007
(1)
February 2007
(7)
January 2007
(6)
December 2006
(3)
November 2006
(4)
October 2006
(4)
July 2006
(3)
June 2006
(3)
May 2006
(2)
April 2006
(5)
March 2006
(1)
January 2006
(4)
December 2005
(2)
October 2005
(1)
September 2005
(10)
August 2005
(3)
July 2005
(4)
June 2005
(1)
May 2005
(2)
April 2005
(4)
March 2005
(1)
February 2005
(6)
January 2005
(9)
November 2004
(1)
October 2004
(5)
September 2004
(2)
August 2004
(10)
July 2004
(11)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Under The Hood - Matt Pietrek
Help tracking down Win32 SxS manifest issues
Posted
over 8 years ago
by
Matt Pietrek
4
Comments
Today I had my first experience with using manifest files for Win32 binaries. If you're only familiar with .NET manifest, never fear, as Windows itself uses essentially the same mechanisms. In my particular case, I wanted to ensure that a DLL I wrote...
Under The Hood - Matt Pietrek
Robocopy built into Vista
Posted
over 6 years ago
by
Matt Pietrek
1
Comments
OK, perhaps not news to everybody, but I was surprised to learn this yesterday. Robocopy is a powerful file copying utility that's much more robust than COPY or XCOPY. It's especially useful for huge file copies, especially over flakey network connections...
Under The Hood - Matt Pietrek
More on SoftIce, from one of its parents
Posted
over 7 years ago
by
Matt Pietrek
20
Comments
Frank Grossman, one of the original authors of SoftIce and owners of NuMega sent this around to some of us old-time NuMega folks. I figured some of my readers might get a kick out of it. It's filled with inside references which I won't try to describe...
Under The Hood - Matt Pietrek
R.I.P. SoftICE
Posted
over 7 years ago
by
Matt Pietrek
24
Comments
A sad, sad day... As of April 3rd, 2006 the DriverStudio product family has retired. For customer support information please contact our FrontLine website. http://www.compuware.com/products/devpartner/default.htm Vast portions of my writing during...
Under The Hood - Matt Pietrek
ETW Tracing: How and Why?
Posted
over 8 years ago
by
Matt Pietrek
13
Comments
Awhile ago, I wrote about examining the structure of ETW Events by look at the MOF data in CIM Studio . Having recently started ETW instrumentation of the VS2005 Profiler components, now’s a good time to talk about creating and writing your own ETW events...
Under The Hood - Matt Pietrek
Intro to Event Tracing For Windows
Posted
over 9 years ago
by
Matt Pietrek
12
Comments
It’s been awhile since I’ve had a technically focused blog post, so I’m rectifying that today. Lately I’ve been doing a lot of work with Event Tracing for Windows (henceforth called “ETW” for brevity’s sake.) For the spelunker who wants to see the OS...
Under The Hood - Matt Pietrek
Fun with Iterators and state machines
Posted
over 9 years ago
by
Matt Pietrek
24
Comments
I recently was given a piece of C# code with statements like: yield return value; and yield break; This was the beginning of my descent into the loopy world of C# 2.0 iterators. It took me awhile to wrap my head around them, and...
Under The Hood - Matt Pietrek
"Source Server" - The best "Hidden" feature in Whidbey Debugging
Posted
over 8 years ago
by
Matt Pietrek
13
Comments
On the drive to work today, Chris Sells asked me what was new & cool with Whidbey debugging. Somewhere on my list was "Source Server" support. Chris's ear's perked up at that. I told him to dig around for an article, as I was sure somebody like...
Under The Hood - Matt Pietrek
Visual Studio 2005 (Whidbey) and Programs Using DBGHELP
Posted
over 8 years ago
by
Matt Pietrek
4
Comments
Yesterday I spent a long time tracking down a problem with PDB symbol access. I figured I could spare some poor soul from going through the same pain as I did by documenting what I found out. The synopsis: If you're using DBGHELP to read PDB symbols,...
Under The Hood - Matt Pietrek
NuMega – Where are they now?
Posted
over 9 years ago
by
Matt Pietrek
5
Comments
One of the best experiences of my programming career was during the golden years of NuMega. Roughly defined as when I started in 1993, up to the acquisition of NuMega by Compuware, roughly five years later. During those years, we put out some terrific...
Under The Hood - Matt Pietrek
Reading another process’s environment
Posted
over 9 years ago
by
Matt Pietrek
3
Comments
A reader of my Under The Hood columns writes: I know the PID of a process, I need to get the environment strings of that process. My problem is, the environment string address of each process seems different. If I can get the environment string address...
Under The Hood - Matt Pietrek
Windows Home Server - Remote Access is working!
Posted
over 6 years ago
by
Matt Pietrek
5
Comments
This morning my wife was firmly ensconced on the couch with the puppy, catching up on her shows on Media Center. Sensing some free time, I snuck upstairs and began poking around at getting remote access working with Windows Home Server. The real...
Under The Hood - Matt Pietrek
Why does the PDB format change every release?
Posted
over 8 years ago
by
Matt Pietrek
6
Comments
In another post , Steve Loughran asks "Why does the PDB format change every release? What is wrong with having one standard layout for debug symbols and leaving it alone?" A good question, and one that I wondered about many years ago. The answer is that...
Under The Hood - Matt Pietrek
R.I.P. NuMega Lab
Posted
over 6 years ago
by
Matt Pietrek
11
Comments
In a previous post , I lamented the loss of SoftIce. Now, we truly are at the end of an era. Compuware is closing its development lab in New Hampshire. This is where tools like BoundsChecker, SoftIce, TrueTime, SmartCheck, CodeReview, and many others...
Under The Hood - Matt Pietrek
My favorite Windows 7 feature so far - Resource Monitor
Posted
over 4 years ago
by
Matt Pietrek
4
Comments
While the Windows 7 UI is currently getting most of the "What's new?" attention, I'm a system guy at heart. I gravitate towards the tools and features that let me understand what's going on. Why does program 'X' take so long to load? Which of my dozens...
Under The Hood - Matt Pietrek
Follow on to Raymond's post on Dr. Watson
Posted
over 8 years ago
by
Matt Pietrek
5
Comments
Raymond's post on the history of Dr. Watson is right on the money. Some additional info, since I have some somewhat close personal connection. When Dr. Watson first became available, I loved what it did. I was working at Borland at the time, and had...
Under The Hood - Matt Pietrek
Debugging application startup when you don't directly launch the app
Posted
over 9 years ago
by
Matt Pietrek
10
Comments
Out of the blue yesterday an internal MS architect called me in my office (which rarely happens.) They needed to debug a second instance of Windows Media Player which crashed when launched within Internet Explorer. The good old "Attach to process" debugger...
Under The Hood - Matt Pietrek
The Debugger Rules
Posted
over 8 years ago
by
Matt Pietrek
8
Comments
I alluded to some debugger cardinal rules in a prior post . However, they may well be something that debugger writers know, but haven't written down. To remedy, I'll start the list here. My first two rules: 1) Never lie to the user. Telling them incorrect...
Under The Hood - Matt Pietrek
File Handle Hell
Posted
over 8 years ago
by
Matt Pietrek
8
Comments
Raymond Chen has an interesting post about a program that tried to open a file, got back an error code, and used the error code as a file handle. In this particular scenario everything worked, but completely by accident. Reading it, I remembered back...
Under The Hood - Matt Pietrek
More Windows x64 fun
Posted
over 8 years ago
by
Matt Pietrek
3
Comments
I'm really getting a kick out of playing with Windows on x64. Since my last post , I've successfully built my PEDUMP as a native Win64 app, and it's running well against everything I throw at it. Yesterday I got to 95% completion with my native command...
Under The Hood - Matt Pietrek
Fun with SpyAxe
Posted
over 7 years ago
by
Matt Pietrek
13
Comments
Normally I don’t hit by viruses. I’m very good with Windows Update and keeping the anti-virus signatures up to date on my machine. Thus, I was very surprised yesterday afternoon when I saw a blinking tray icon and a badly worded balloon message indicating...
Under The Hood - Matt Pietrek
Cool Whidbey debugger feature: Merge Environment
Posted
over 9 years ago
by
Matt Pietrek
8
Comments
If your app depends on a particular set of environment variables, it could sometimes be a real pain to debug. Case in point: The .NET profiling API depends on two environment variables to push the unmanaged profiling DLL into a process. I covered this...
Under The Hood - Matt Pietrek
Adventures in creating a Windows 7 HTPC – Part 2
Posted
over 4 years ago
by
Matt Pietrek
3
Comments
In my previous post , I described the requirements and purchasing decisions around a new Windows Media Center based PC, running Windows 7, and acting as a no-touch appliance. When I left off, I had purchased an HP s5100z PC and added an HD 4350 Video...
Under The Hood - Matt Pietrek
The death of 3rd party system tools?
Posted
over 9 years ago
by
Matt Pietrek
24
Comments
A co-worker recently asked me what I thought about the upcoming hardening of the x64 versions of Windows , which makes it harder to write cool programs like Compuware's SoftIce , or RegMon & FileMon from SysInternals . The gist is that Windows will...
Under The Hood - Matt Pietrek
She said "Of course I will"
Posted
over 9 years ago
by
Matt Pietrek
29
Comments
And with a panoramic sunset view of Seattle and the Eastside before us, I slipped the engagement ring on to her finger last night. So now it's official, Ian. :-)
Page 1 of 6 (131 items)
1
2
3
4
5
»