'Creates a new instance of a **wrapped** object
This method looks up a "@win32com.server.policy.regSpec@" % clsid entry
in the registry (using @DefaultPolicy@)'

def _CreateInstance_(self, clsid, reqIID):

    try:
        classSpec = win32api.RegQueryValue(win32con.HKEY_CLASSES_ROOT, (regSpec % clsid))
    except win32api.error:
        raise error(('The    object    is    not    correctly    registered    -    %s    key    can    not    be    read' % (regSpec % clsid)))
    myob = call_func(classSpec)
    self._wrap_(myob)
    try:
        return pythoncom.WrapObject(self, reqIID)
    except pythoncom.com_error as (hr, desc, exc, arg):
        from win32com.util import IIDToInterfaceName
        desc = ("The    object    '%r'    was    created,    but    does    not    support    the    interface    '%s'(%s):    %s" % (myob, IIDToInterfaceName(reqIID), reqIID, desc))
        raise pythoncom.com_error(hr, desc, exc, arg)
