title: Using callback functions in vbscript
body: <p>I'm trying to make an update script for windows7 in vbscript</p>
  
  <p>when invoking <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa386519%28v=vs.85%29.aspx" rel="nofollow">IUpdateSearcher::BeginSearch</a> how do I pass the callback to <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa386066%28v=vs.85%29.aspx" rel="nofollow">ISearchCompletedCallback::Invoke Method</a>? </p>
  
  <p>I'm just clueless on this points:</p>
  
  <ul>
  <li>do I need an function or sub or does this a custom object with an invoke method(and how to create)</li>
  <li>how I need to pass the callback</li>
  <li>is it even possible in vbscript (if not what is a good next step?)</li>
  </ul>
  
  <p>Thanks</p>