You need to pass the object instance of the webbrowser control
(IDispatch in C++).
In VB6, you can do it like below:
Dim snap1 As HtmlSnap2.CHtmlSnap
Set snap1 = CreateObject("HTMLSNAP2.HtmlSnap.1″)
snap1.SnapWebBrowser WebBrowser1.Object, "c:\web.bmp"
snap1.Clear
We also provide C# demo with our trial version.
Try htmlsnapshot here now
http://www.guangmingsoft.net/htmlsnapshot/help.htm