latest working version
DirectShow to capture image