[python-win32] Open files, round 2

2009-11-23 Thread Aahz
I'm having some problems with Tim Golden's file_handles.py [*] (details below), and it occurs to me that perhaps I should start over and express my requirement more broadly and see if someone has a more "Windows appropriate" solution: all I really care about is, given a specific filepath, whether a

[python-win32] RichEditCtrl scrolling doesn't work properly

2009-11-23 Thread Greg Ewing
I'm trying to create a PyRichEditCtrl with scroll bars. I can get scroll bars to appear using the appropriate style flags in CreateWindow, but they don't entirely work. Clicking on the scrolling arrows causes the text to scroll, but the position of the thumb doesn't get updated to match. Can anyo

[python-win32] com object in python

2009-11-23 Thread Jisun lee
Hello, all I tested a python script using win32com and VC++, but I have some problem to use interfaces from my python code to VC++. -mypython code- import pythoncom … IID_IShowMeDoDemo = pythoncom.MakeIID("{5104D21B-5756-4ABA-8632-B386C283CCC3}") _reg_clsid_ = "{12AECA5C-C50A-4f01-8CFB-CE5FC9F

Re: [python-win32] com object in python

2009-11-23 Thread Tim Roberts
Jisun lee wrote: > > > > Then I executed “MILD” in VC98 and got some files names “xx.h” and > “xx_i.c” and tlb etc. > > So, I generated a VC++ project to call the instance with those. > > Even I succeed to compile but when I execute the result, it shows > “interface error” which called by hr==E_N

Re: [python-win32] Open files, round 2

2009-11-23 Thread Aahz
On Mon, Nov 23, 2009, Aahz wrote: > > I'm having some problems with Tim Golden's file_handles.py [*] (details > below), and it occurs to me that perhaps I should start over and express > my requirement more broadly and see if someone has a more "Windows > appropriate" solution: all I really care ab