Few of my technology ideas

  • Generic representation of a Media Topology, Serialize and De-serialize

    Recently I came across a problem where various Media topologies in Windows were represented in different ways. For example, IMFMediaSession topology is represented using IMFTopology ( http://msdn.microsoft.com/en-us/library/windows/desktop/ms705488(v...
  • Determining pin dependence in MediaCapture

    In general most of the cameras expose 1-3 pins from which you can capture Video Preview stream, Video Record stream, Photo stream. Example: Normal USB cameras generally expose 1 pin (Preview) , H264 cameras expose 2 pins (1 for Preview and 1 for Record...
  • SQL Mirroring best practices

    Few years ago when I was working on web services, I was part of a team that built a tool to achieve SQL Mirroring in a reliable manner. Here are few best practices that I took away from that experience. Mirroring is one of the best ways in which you...
  • Accessing Public classes in your Webservice from Clients

    Recently I struggled a lot to figure out how to access classes that are public in my webservice namespace, from the client (that was making the webservice method calls) I had a Public class called “ Details ” in my webservice and I had a method which...
  • ConfigurationManager class in C#

    The ConfigurationManager class in C# has been one of my latest discoveries for storing all the configuration data required by an application. Here is one example of how I used it to store some of my configuration data: Let us say that you have written...
  • Tips and Tricks with C++ COM and .NET

    If you have written a C++ COM dll and if you are looking to use it in a C# program, then you are in the right place! :) Read on... Trust me, using a COM dll in a C# program is far simpler and relieves you of all those ref counting hazzles. Managed...
  • A study on IPC options on WinCE and Windows

    I wanted to make a client-server application that would run both on WinCE/Windows Mobile 5.0 PPC/SP and Windows . Here is what I wanted to make: § A Server EXE which would have to run, both on a Win CE based device and on a Desktop machine...
  • An example of using delegates in C#

    Delegates hold the references/addresses of functions so that the functions can be invoked in a call back manner. If you are familiar with C++, they are just like function pointers. Here is one example of how delegates can aid in structuring your test...