I posted a new WTL project on my web site. This project illustrates working with the IIS Metabase object (ABO) and the tooltip control. The project retrieves the Anonymous and WAM user names and passwords.
I have found the best way to start learning a framework is to tackle simple programs, like the VB Script used to recover the Anonymous and WAM user information:
Dim IIsObject
Set IIsObject = GetObject ("IIS://localhost/w3svc")
WScript.Echo "AnonymousUserName = " & IIsObject.Get("AnonymousUserName") & vbCrlf & _
"AnonymousUserPass = " & IIsObject.Get("AnonymousUserPass") & vbCrlf & vbCrlf &_
"WAMUserName = " & IIsObject.Get("WAMUserName") & vbCrlf & _
"WAMUserPass = " & IIsObject.Get("WAMUserPass")
Set IIsObject = NothingThis simple VB Script is only a few lines. Yet it presents the beginning WTL programmer with a number of challenges. (How do you open the "IIS://LocalHost/w3svc" object in C++? What is the C++ equivalent to GetObject?)
Enjoy the code.