That's very strange - is it possible you changed the source code since
you sent it, or aren't using the latest pywin32?
This is what I see:
Python 2.7.3+ (default, May 12 2012, 13:50:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information
On 12/17/2012 8:25 PM, Mark Hammond wrote:
So after running makepy, a work-around is:
>>> klass=win32com.client.gencache.GetClassForProgID("MyApp.Application")
>>> x = klass()
>>> x.GetSettingValue("foo")
u'foo=testValue123'
>>>
I tried the work-around. I've run MakePy and then gave the abov
On 12/17/2012 8:25 PM, Mark Hammond wrote:
Dave sent me the source via email.
The root problem is that the MFC project is not supporting the
GetTypeInfo() and associated calls, and TBH I'm not sure how hard it
would be to make it support that. The end result is that the makepy
support for th
Dave sent me the source via email.
The root problem is that the MFC project is not supporting the
GetTypeInfo() and associated calls, and TBH I'm not sure how hard it
would be to make it support that. The end result is that the makepy
support for the object isn't being used as pywin32 can't a
On 12/16/2012 6:17 PM, Mark Hammond wrote:
I'm the vendor of the object :) As I mentioned, I just created this
small test app which reproduces the issue having just those 3 simple
methods. However, I'm not able to talk to it via Python.
Is the source to this available?
Yes, its just a Vi
On 17/12/2012 12:54 AM, Dave Calkins wrote:
On 12/16/2012 12:46 AM, Mark Hammond wrote:
That's very strange. pywin32 *will* be passing a second param - a
byref bstr. byref params do work in general, so you might need to
contact the vendor of the object for help.
Cheers,
Mark
I'm the vendo
On 12/16/2012 12:46 AM, Mark Hammond wrote:
That's very strange. pywin32 *will* be passing a second param - a
byref bstr. byref params do work in general, so you might need to
contact the vendor of the object for help.
Cheers,
Mark
I'm the vendor of the object :) As I mentioned, I just
On 15/12/2012 12:56 AM, Dave Calkins wrote:
On 12/13/2012 10:39 PM, Mark Hammond wrote:
This is the form you should use, but the method name you are trying to
call is "GetSettingValue", not "GetSettingName", hence the
AttributeError.
Mark
Ah, yes. Good catch! Unfortunately, correcting that
On 12/13/2012 10:39 PM, Mark Hammond wrote:
This is the form you should use, but the method name you are trying to
call is "GetSettingValue", not "GetSettingName", hence the
AttributeError.
Mark
Ah, yes. Good catch! Unfortunately, correcting that typo didn't seem
to fix it. Here's what
On 13/12/2012 11:36 AM, Dave Calkins wrote:
I'd like to be able to call an OLE Automation (IDispatch) server from
python to automate an existing application. I'm not at liberty to
change the existing automation interface provided by the application so
I need to get it to work with what the app c
I'd like to be able to call an OLE Automation (IDispatch) server from
python to automate an existing application. I'm not at liberty to
change the existing automation interface provided by the application so
I need to get it to work with what the app currently exposes.
The interface I'm attem
11 matches
Mail list logo