Pinvoke Convenience
I had to investigate a support query related to the lack of sound for a MacroView operations session running via remote desktop to a Windows Server 2003 server. The interesting aspect of the process was that I chose to write a quick .NET application in Visual Studio as part of the fault resolution process rather than configure the operations program for a particular scenario or write a simple C win32 application to do the same. It just seemed quicker and easier to create a quick C# program and grab the MessageBeep code from pinvoke.net – even given the interaction with the WIN32 API that was needed.