[pywin32-bugs] [ pywin32-Bugs-1920299 ] arrayOfVariantOfBSTR in Python
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2008-03-24 07:49:39
|
Bugs item #1920299, was opened at 2008-03-20 09:45 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1920299&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: None Group: None >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Mustafa (goermezer) Assigned to: Nobody/Anonymous (nobody) Summary: arrayOfVariantOfBSTR in Python Initial Comment: Hi, I have problem with an application which I try to automate with win32com. My problem is now, that a GetListOfDependantFile expects a arrayOfVariantOfBSTR byreference. I think this must be a list of strings. The VB Code is this: Set Send1 = CATIA.CreateSendTo() Call Send.SetInitialFile(myfile) ReDim arrayOfVariantOfBSTR(500) Call Send1.GetListOfDependantFile(arrayOfVariantOfBSTR) How can I write this in Python for win32com ? best regards Mustafa Görmezer ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2008-03-24 18:49 Message: Logged In: YES user_id=14198 Originator: NO If you run makepy, you should be able to pass no params - the strings will be returned. Please show the code you use and the exception you see. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1920299&group_id=78018 |