Kristoffer's tidbits

Bits and pieces of useful information by Kristoffer Henriksson

Calling WinRT functions from low level C++

The high level projection available in C++ targeting WinRT make working with WinRT from C++ a much...

Author: Kristoffer Date: 03/26/2012

A concise history of the Bing Maps Windows 8 Map control.

The Windows 8 Bing map XAML control (as opposed to the javascript control which is an entirely...

Author: Kristoffer Date: 03/20/2012

Working with the Bing Maps Metro style map in XAML

Win 8 xaml unfortunately does not supporting anything similar to TypeConverters to convert from...

Author: Kristoffer Date: 03/15/2012

Using Bing Maps in a Windows 8 Metro style app

The recently released Bing Maps controls for Windows 8 (available in the Visual Studio Gallery)...

Author: Kristoffer Date: 03/09/2012

Shrinking .NET assemblies by removing unnecessary attributes

Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable...

Author: Kristoffer Date: 04/28/2010

Streetside photos is live!

Bing Maps just shipped a tech preview of Streetside photos which overlays Flickr photos on...

Author: Kristoffer Date: 02/11/2010

Streetside smoove

Bing Maps Streetside just released a minor update that allows you to smoothly glide through streets...

Author: Kristoffer Date: 01/20/2010

It's 10 pm, do you know what your JITter is doing?

Ever have that awkward feeling like you don't know what actually gets executed as a result of your...

Author: Kristoffer Date: 11/13/2009

OutOfMemoryException is special

Consider the humble OutOfMemoryException and its most common usage. If it is thrown when the system...

Author: Kristoffer Date: 02/25/2009

Troubleshooting a failed Virtual Earth 3D installation

The Virtual Earth 3D setup program is a small executable that downloads and installs pre-requisites...

Author: Kristoffer Date: 05/16/2008

How does Virtual Earth 3D find and load plugins?

On startup VE3D looks in the Plugins folder of the install directory (ProgramFiles\Virtual Earth 3D)...

Author: Kristoffer Date: 12/07/2007

Using a plugin to add a billboard to Virtual Earth 3D

To add objects to the VE3D world we need to create our own actor that knows how to render itself....

Author: Kristoffer Date: 11/14/2007

BillboardPlugin.cs

using System; using System.Collections.Generic; using System.Drawing; using System.Text; using...

Author: Kristoffer Date: 11/14/2007

BillboardActor.cs

using System; using System.Collections.Generic; using System.Drawing; using System.Text; using...

Author: Kristoffer Date: 11/14/2007

Disclaimer

Content is provided "AS IS" with no warranties and confer no rights.

Author: Kristoffer Date: 11/13/2007

Creating a Hello World plugin for Virtual Earth 3D

With latest release of the Virtual Earth 3D release we now support loading plugins to perform...

Author: Kristoffer Date: 11/13/2007

What's the latlong of this location?

Right click on the map to get the latitude and longitude function MouseClick(mapEvent) { if...

Author: Kristoffer Date: 07/23/2007

Is your e-mail going unanswered?

As a general rule the chance of your e-mail getting a response is inversely proportional to the...

Author: Kristoffer Date: 06/29/2007

Web browser information

document.write('Your browser identifies itself as "'); document.write(navigator.userAgent);...

Author: Kristoffer Date: 06/22/2007

Virtual Earth update

Virtual Earth released a new version this afternoon; read about the new features on the Virtual...

Author: Kristoffer Date: 04/03/2007

Visual Studio Tip: Examining long strings while debugging

Long strings can be a pain to examine in Visual Studio while you're debugging but in .NET projects...

Author: Kristoffer Date: 04/03/2007

The one Visual Studio tip that everyone should know is how to quickly open a file in a large...

Author: Kristoffer Date: 03/23/2007

Javascript prototype versus closure execution speed

When Javascript execution speed matters consider using prototype instead of closures where possible....

Author: Kristoffer Date: 02/13/2007

Debugging memory usage in managed code using Windbg

Windbg, is there anything it can't do? CLR Profiler is great for getting an overview of memory...

Author: Kristoffer Date: 01/09/2007

Debugging lock issues in managed code using Windbg

Windbg can be helpful for locking lock issues in managed code that seem to only happen on client...

Author: Kristoffer Date: 01/05/2007

Debugging exceptions in managed code using Windbg

By default Windbg will break for access violations (or null reference exceptions as they're called...

Author: Kristoffer Date: 01/03/2007

Setting a breakpoint in managed code using Windbg

One of the great features of managed code is getting call stacks and proper class and member...

Author: Kristoffer Date: 01/02/2007

Getting started with Windbg and managed code

Windbg (or wind bag as my friend calls it) is my one stop shop for almost everything debugging...

Author: Kristoffer Date: 12/29/2006

Loading website images in parallel

By default web browsers will only open 2 simultaneous connections to a named website to be a good...

Author: Kristoffer Date: 12/27/2006

Loading Javascript files in parallel

You've got your website all set up but are experiencing slow load times for some customers,...

Author: Kristoffer Date: 12/22/2006