Late but live!

I was planning to post something about 3 days ago but things have been a little crazy on the home front (lets just say that 'the games' have been playing me these days) and a lot crazy on the work front (can't talk about it exactly, but it's been good busy mostly). 

I have no VSTO tips today, sorry.

However I had a chance to receive some general advice on blogging, display styles etc.  So this should almost be "See What I See Version 2-beta".  On recommendation I've installed Windows Live Writer, and to be honest so far it has been a pretty okay experience.  I had a lot of trouble connecting up the piping initially but it seems to be more of a factor of bits-in-the-piping issues (restrictive network settings) than anything wrong with the software.  Firewalls can be tricky things sometimes. 

Anyway, I got everything up and running and with a bit of customization I can now paste "nice" code instead of the ugly black boring notepad code I have been pasting in the past.  An example:  here's some "C++" "Code" that I _may_ have written recently to do a bit of a "refresher" since it's been almost 2 years since I've done anything serious with C++.    Oh how the time flies and the tools rust.

 // MyCppIsRusty.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "Widget.h"

int _tmain(int argc, _TCHAR* argv[])
{
    int result = (int)*argv[1];
    printf("The Result is: %i \n", result);

    RustRemoval::Widget *Foo = new RustRemoval::Widget();
    result = Foo->SomeFunction(result);
    printf("The result after manipulation is: %i \n", result);

    return 0;
}

Yes that is real code, it  doesn't do anything interesting and has bugs, I was exploring building static library building and the actual content didn't matter so long as I was getting results from code that wasn't in the project itself.  I do have to say though, going back to C++ after being spoiled by C# for so long, There are some things that .NET just does better.  Building multi-component software using dll's is nicer.  In .NET there are no header files I have to copy around, if you want to use my dll, simply create a reference to it and everything is golden.

One last thing, Here's a random picture to see what Live Writer can do:

kris2

If you can see the image, then Live Writer gets 2 thumbs and a pinky up from me.

As always Thank You for reading,

K.