The goal is to translate this:

I need to write my own wrapper for the VBScript.dll, which is what that code is doing just in C++.

I am worried that msscript.ocx isn't going to be future proof with vista and windows 7, but I know vbscript.dll is (Internet Explorer requires it, and I know Microsoft isn't about to remove IE)