[pywin32-bugs] [ pywin32-Bugs-3588501 ] Visual Studio AddPropertySheet Type Error
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-11-19 13:52:41
|
Bugs item #3588501, was opened at 2012-11-19 05:52 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3588501&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: com Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Visual Studio AddPropertySheet Type Error Initial Comment: When trying to add a style sheet to a visual studio C++ project using pythoncom, the following error occurs Traceback (most recent call last): File "test.py", line 87, in <module> proj.addPropertySheet("d:\\temp\\vs\\boost.props") File "test.py", line 34, in addPropertySheet sheet = conf.AddPropertySheet(file) File "C:\Python27\lib\site-packages\win32com\gen_py\0CD36BB6-D828-4DB9-91BF-AD493EE76B79x0x10x0\VCConfiguration.py", line 35, in AddPropertySheet ret = self._oleobj_.InvokeTypes(782, LCID, 1, (9, 0), ((31, 1),),FileName TypeError: The VARIANT type is unknown (0x0000001f) Source is attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3588501&group_id=78018 |