July 09, 2007

Fixing my performance counter library for Vista
So, back in June I discovered that my performance counter library code didn't work on my new Vista x64 development box... The problem seems to be that the code has always been doing things in an undocumented/unsupported way and it's...

July 10, 2007

CreateFileMapping, Vista, Global namespace, SeCreateGlobalPrivilege...
I'm fixing up my performance monitoring code and this uses shared memory to communicate between the perfmon extension DLL and the application. Since I'm tightening up security I decided to explicitly pass in the security attributes, which has a possitive...

July 17, 2007

Performance counter rewrite almost complete
Around a week ago I started looking at rewriting my performance counter library so that it worked on Vista. That work is almost complete and I'm at the stage where the new library does everything the old one did but...

July 18, 2007

Non-trivial...
Charles Miller over at 'The Fishbowl' provides a cheat sheet to decode what us programming types mean when we describe the difficulty of solving problems......

Infrant Ready NAS NV+
I've been running a pair of 2TB Infrant Ready NAS NV+ RAID systems for a while now as on-site file server and off-site backup and so far I'm very pleased with them. I have one under my desk and one...

July 19, 2007

How to liquidise perfmon's guts but still leave the body standing...
I'm still working on my performance counter library. I've got parent and child objects working and multiple instances and I have a sample server that publishes performance data using two objects, one for the executable (io threads, sockets and buffers...

VS2005 breakpoint annoyance
My Visual Studio 2005 C++ debugger seems to have stopped doing what VC6 used to do if you placed a breakpoint on a line that didn't result in executable code... VC6 used to warn you and then move the breakpoint...

July 24, 2007

Unsequenced socket bug fix
I've just fixed a bug in the latest version of the socket server framework code (v5.1 - if you dont have docs and a version number then you're CStreamSocket has a RequestWrite() method that takes a BYTE * and a...

Sometimes it almost seems that they don't want you to get the code to work...
I've spent some time over the last few days playing around with my CLR hosting socket server example. I had stalled on a piece of client work, I've got a bit of a head cold at the moment and my...

July 25, 2007

Nick Gunn is blogging again...
I used to work with Nick at CSFB and then at Barclays Capital. He's always been a good, techie, low-level COM/.Net geek and his latest writings on the Microsoft Concurrency and Coordination Runtime are interesting! If you're interested in async/multi-threaded/concurrent...

July 28, 2007

VS2008 Beta 2 first impressions
I've just installed Visual Studio 2008 Beta 2 in a VMWare box so that I can start to test the x64 port of my socket server framework with the new compiler. I haven't bothered to look into what's new in...

July 31, 2007

Hosting .Net takes me back to the 'Good ol' days of COM'
It's interesting, no, really, how the more things change the more they stay the same... I've been doing COM for a long time. I first discovered COM back at Interlink when I was writing a windows version of a product...

See the "What About .NET?" sidebar...
Interesting... It seems that rumours of C++'s demise in the brave new world of .Net were slightly over exagerated, perhaps, maybe... From a recent issue of MSDN magazine: "There are two main reasons why this column was born. First, despite...