As promised, I finally got a chance to clean up the code and wrap up a nice little example of calling into and out of the WebBrowser control hosted in a VCL application. The code is available here. Be sure to read this post as well as this post for additional details. If you find this of interest you’ll also want to check out this post from Allen Bauer as well as this post from Marco Cantu.
The source code of this example uses the same Automation.pas unit that Allen distributed with his code.
[UPDATE: April 25, 2008] Related posts: