Archive for May 31st, 2010

I read books, web and stuff who described that you could do fun things with Silverlight with VisualStudio 2008 – C Sharp of course. But it appears not.
I saw some people using C Sharp Express and where I saw the Silverlight design, but there is not. It is not design, but preview. It was so in Beta, it looks like.

I feel that I must have MS Expression Blend to work with. How do I otherwise complex curves and stuff. You do it maybe, but not me. So I quit.

Just testing code

ImageFix::ImageFix()
{
	GdiplusStartupInput input;
	GdiplusStartup(&m_token, &input, NULL);

	// Comment
	UINT size;
	UINT numEncoders;
	GetImageEncodersSize(&numEncoders, &size);

	ImageCodecInfo *encoders = (ImageCodecInfo *)malloc(size);
	GetImageEncoders(numEncoders, size, encoders);

	for (UINT i = 0; i < numEncoders; i++)
	{
		ImageCodecInfo encoder = encoders[i];
		m_aEncoders.Add(encoder);

		if (encoder.FormatID == ImageFormatPNG)
		{
			m_defaultEncoder = encoder;
		}
	}

	free(encoders);	
}

Wow! This is great!