Monthly Archives: August 2012

Using Win32 Icons in WPF

Using custom icons can be a little tricky in WPF. It’s simple enough if you want to use your application’s main icon or an icon file that you can refer to using a pack URI – so long as you … Read the rest of this entry

Filed in code, Windows, WPF | Comment Now

Extracting Icons from PE Files

There are times when you need an icon file, but all you have is an icon resource embedded in a PE (executable) file. Getting at these is a little tricky, since icon files aren’t stored as a simple blob in … Read the rest of this entry

Filed in code, Windows | Comment Now

Working With Win32 Resources in .NET

Most native applications make extensive use of Win32 resources. While the .NET Framework provides a far more useful resource API, it’s sometimes necessary to access the old style Win32 resources. Fortunately, this isn’t very difficult. The Win32 Resource API The … Read the rest of this entry

Filed in code, Windows | Comment Now