SetWindowLong works only for 32 bit systems, thus windows events (move/resize) where not interpreted on 64 bit systems https://bugzilla.gnome.org/show_bug.cgi?id=756617
To build this, you'll require the DirectShow base classes. These are supplied in the Windows SDK, but under Samples\Multimedia\DirectShow\BaseClasses Once you've built that, you should be able to figure out the rest...