June 2005 Entries
Last evening, I was trying to write an application which could detect IR Devices from my machine and give its details. I was using VS2005 Beta 2 Winforms. I added System.Net.IrDA.dll from “C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactF... path. The program is simple, just create an instance of IrDAClient and look for devices using IrDA.DiscoverDevices(int max) which gives an array of IrDADeviceInfo. But to my surprise, when...
You can use SOS from within your VS.NET IDE. First you need to unable “unmanaged code” debugging option in Visual Studio. Go to Project Properties -> Configuration Properties -> Debugging -> “Enable Unmanaged Debugging”. Set this option to “True”. Then you set a breakpoint in your code. When this breakpoint is hit, open the “immediate window” and load SOS debugger extension through the “.load sos” command. You can also use “!help”...
Moved to this new blog site, my previous blog site link is here