Skip navigation

Monthly Archives: November 2010

In Visual Studio 2008 and 2010 alt + shift allows you to select COLUMNS in the text editor. Column selection…you know it’s awesome.

The more development that I do, the more I realize that there isn’t any wizard behind the curtain. There is less and less mystery as to how things work. Which is good and bad…you start thinking…Screw that, I can TELL this thing to do anything that I want. This comes up more and more as co-workers don’t believe you that when they click a check box on a tool that came with the OS, you can do that TOO?!!!??? With code??!?!?!!? No…There is something special about the check box. There is no way that you can do what the CHECK BOX does. How dare you blaspheme the OS! Don’t let it hear you! The disbelief is weird. Today was such a day. I always knew that Com objects were just dll’s (mainly) that had some common entry points defined…and some “glue” (IDL) that let’s you access them from different languages. Today, I have even fewer scales over my eyes.

Now to dig back into that Russinovich book on C++ and win32…

There is actually a managed namespace for memory mapped files. System.IO.MemoryMappedFiles.MemoryMappedFile. How ’bout them apples? It has a CreateFile method. For those of you out there who have had to do the “read-all-text-and-use-string.split()” shuffle…the article I picked this up from claims a x2 order of magnitude speed up on a 15GB flat file. It’s at least more interesting then MORE string munging.