VirtualBox

vbox的更動 45473 路徑 trunk/src/VBox


忽略:
時間撮記:
2013-4-10 下午07:39:16 (12 年 以前)
作者:
vboxsync
訊息:

vboxapi.py: Use TLB_MAJOR and TLB_MINOR.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/glue/vboxapi.py

    r43105 r45473  
    11"""
    2 Copyright (C) 2009-2012 Oracle Corporation
     2Copyright (C) 2009-2013 Oracle Corporation
    33
    44This file is part of VirtualBox Open Source Edition (OSE), as
     
    254254        d['arg'] = arg
    255255        d['tlb_guid'] = PlatformMSCOM.VBOX_TLB_GUID
     256        d['tlb_major'] = PlatformMSCOM.VBOX_TLB_MAJOR
     257        d['tlb_minor'] = PlatformMSCOM.VBOX_TLB_MINOR
    256258        str = ""
    257259        str += "import win32com.server.util\n"
     
    261263        str += "   _com_interfaces_ = ['IEventListener']\n"
    262264        str += "   _typelib_guid_ = tlb_guid\n"
    263         str += "   _typelib_version_ = 1, 0\n"
     265        str += "   _typelib_version_ = tlb_major, tlb_minor\n"
    264266        str += "   _reg_clsctx_ = pythoncom.CLSCTX_INPROC_SERVER\n"
    265267        # Maybe we'd better implement Dynamic invoke policy, to be more flexible here
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette