[pywin32-bugs] [ pywin32-Bugs-1031907 ] python ActiveX scripting - GetTypeInfo() didn't work
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-09-21 13:56:13
|
Bugs item #1031907, was opened at 2004-09-21 17:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1031907&group_id=78018 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Fedor Ezeev (ezeev) Assigned to: Nobody/Anonymous (nobody) Summary: python ActiveX scripting - GetTypeInfo() didn't work Initial Comment: I use some third party ActiveX Scripting host, named "OpenConf". OpenConf load some scripts, and show script's subroutines for user's choice. And there is visible difference between vba (or java) scripts and python scripts. Subroutines in vba scripts - are visible, but subroutines in python scripts - are not. As OpenConf's author say, this is because python's IDispatch::GetTypeInfo() return NULL, instead of real TypeInfo. Also IDispatch::GetTypeInfoCount() return 0, instead of 1. There is some simple application in attach, that demonstrate this problem. Code, that call GetTypeInfo() placed in file ascriptDlg.cpp inside CAscriptDlg:: OnInitDialog() method. This sources are compiled with MS Visual C++ 6.0 Python - 2.3.4 pywin - 202 OS - Win2000 prof sp4 russian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1031907&group_id=78018 |