Someone discovered the utility while browsing my public repository (the app prompts to post data back to the website, and the anonymous user accepted the offer and posted the report from this unpublished application), so I have to drop a few lines about the tool. The idea is basically straightforward: live capture involves attaching time [...]
Archive for the ‘ATL’ Category
CaptureClock: Utility to Check Video/Audio Capture Rates
Posted: 4th January 2013 by Roman in ATL, Utilities, WTLTags: Audio, capture, DirectShow, frame rate, live, rate matching, Video
DirectShow Spy: ROT fix and evrprop.dll
Posted: 4th January 2013 by Roman in ATL, UtilitiesTags: COM, DirectShow, directshowspy
A small issue appears to be affecting DirectShow applications with DirectShow Spy installed. As underlying COM base is non-standard, the spy implements a few hacks to run smoothly and to keep reference counting correct in particular. Under certain conditions, DirectShow-enabled ActiveX control hosted by Internet Explorer seems to be unable to put its graph onto [...]
DirectShow Spy: Easier Registration
Posted: 24th November 2012 by Roman in ATL, Utilities, WTLTags: COM, DirectShow, directshowspy, registration, regsvr32, rundll32, spy
Because DirectShow Spy is often a troubleshooting tool, one of its use scenarios is its being a drop-in module to quickly install on a system of interest in order to connect to graphs for troubleshooting purposes, such as to check topology and media types. Its installation requires COM registration, and over time it changed gradually [...]
Log Process Exceptions: Filters and Email Notification
Posted: 8th October 2012 by Roman in ATL, Source, Utilities, WTLTags: debug, exception, log, troubleshooting
Moving on with LogProcessExceptions tool which externally monitors (debugs, to be more specific) an application of interest and captures its exceptions writing minidump files for further analysis. This updates adds two features: Ability to filter out the exceptions of interest An email notification on exception, with or without minidump file Filter A new property page [...]
Automated cell phone balance check, mutliple accounts
Posted: 7th October 2012 by Roman in ATL, UtilitiesEveryone has a cell phone nowadays, a lot of people have 2+ numbers, many have dependents with cell phones. In this country with prepaid services being so popular the number of people who pay for cellular phone services for several numbers perhaps exceeds one million. It looks obvious that there is certain demand for a [...]
Reading HRESULT codes
Posted: 18th August 2012 by Roman in ATL, Source, UtilitiesTags: code, COM, DirectShow, error, hresult, media foundation
Although HRESULT codes are so common and structure is simple and well known, and even Visual Studio helps decoding the values nowadays, looking up for code takes some effort: hexadecimal value, searching through SDK headers or online, overlapped regions of codes in FACILITY_ITF etc. MSDN describes the codes in the following sections: Structure of COM [...]
Three ways to implement VBScript (VB6, VBA) callback from C++/ATL class
Posted: 11th August 2012 by Roman in ATL, SourceTags: ATL, automation, C++, COM, scripting, vb, vba, vbs
Suppose you have an automation object that needs to implement a callback into caller Visual Basic environment, which can be Scripting Host, Visual Basic for Applications, ASP etc. With all the late binding in VB scripting and so much different C++ code – how to put everything together? There are great choices, let us have [...]
