Link 32-Bit Native C++ EXEs with /LARGEADDRESSAWARE

If you’re not running a 64-bit version of Windows, I bet that at least one of your customers is. While you should be working on porting your native applications to 64-bit, it doesn’t look like that many teams have made that step. While it will take effort and testing to make the switch, you can…

OMG! Someone Did a Book Report!

Whenever I teach a debugging class, the first thing I talk about is one of the most important points I make though the entire class: read Steve McConnell’s masterpiece, Code Complete 2nd Edition. I ask for an honest show of hands as to who hasn’t read Code Complete, and it always amazes me how many…

Silverlight 3’s New GPU Acceleration

Another new and notable feature of Silverlight 3 is support for hardware acceleration. In Silverlight 1 and 2, all rendering was done in software, which meant that the performance of complex animations and video playback depended heavily on the capabilities of the host PC. Silverlight 3, however, can take advantage of hardware GPUs. You can…

Silverlight 3’s New Pixel Shaders

Silverlight 3 is loaded with new graphical goodies, and one of the goodies I’m most excited about is pixel shaders. A pixel shader is an object that transforms pixels output from the rendering pipeline before they’re rendered to the display surface. Silverlight 3 Beta 1 comes with two pixel shaders: BlurEffect and DropShadowEffect. The following example…

Mandelbrot and the Southern Fried Roadshow

I’m packing up my stuff to head for Atlanta tomorrow and speak at MSDN’s Southern Fried Roadshow. If you attend, you’ll get to see a demo that I just put the finishing touches on. It uses dynamic Deep Zoom (that is, Deep Zoom with image tiles that are generated on the fly rather than by Deep…

Silverlight UI Rant #2 – ListBoxItem

Tonight’s recipient of my UI Rant is the Silverlight 2 ListBox, or more specifically, the ListBoxItem.  A client recently asked me to provide an alternating row style like the DataGrid for the ListBox.  Now, if you’ve ever tried to add a border or background to your ListBoxItem, you’ve seen this: No problem, you say, I…

HttpWebRequest, its request stream, and sending data in chunks

I have recently been spending a great deal of time writing code that communicated with RESTful services (Microsoft’s Live Framework, in particular). Towards this end, I’m using the HttpWebRequest class to communicate and, for scalability and responsivenss, I want to perform my I/O operations asynchronously. This has caused me to look into the [Begin]GetRequestStream methods.…

MVC Demo Updated for RC

Microsoft recently published the RC release of their ASP.NET MVC Framework, and I’ve updated my “Jeff’s Hangar” MVC sample accordingly. The RC contains some cool new features, especially with regard to tooling support, but mostly it adds polish to features that were already there. I’ve rewritten the sample to be as true to the spirit…

HtmlPage.PopupWindow vs. HtmlWindow.Navigate

I was recently looking at various ways of launching an external window from inside a Silverlight 2 application.  Dusting off your javascript brain cell, you’ll recall that to open a popup dialog in “the old days”, we’d use window.open().  I knew about the HtmlBridge available in Silverlight 2 and I had used it for several…

Fixed ADPlus That Works with Windows 7 (and Probably S2K8 R2)

Edit Feb. 20, 2009: Note that Microsoft has fixed ADPlus with the 6.11.1.402 version of the Debugging Tools for Windows. Use that version instead of my version posted here. Windows 7 has been working quite well for me and the new taskbar is completely fantastic. Being that it’s in beta there are a few bugs…

The Case of the Corrupt PE Binaries

After installing Windows 7, I also installed the Windows 7 SDK as I wanted to poke around the updated headers and documentation files to see what was new at a low level. Additionally, I wanted to make sure all my code compiled against the new headers and libraries in case someone taking my native debugging…

Blast from the Past: How Son-Of-FDISK Saved My Computer

You can tell how long someone has been around computers by mentioning “FDISK” and seeing if you’re met with a blank stare. Not many people remember FDISK. But for those that do, that knowledge can still come in handy today. Two weeks ago, I was packing my bags to head for the airport when my…