Huang Guan wrote:
I need your help on question 3 still:
import pythoncom
from win32com.server import util
f=open('somepage.html','r')
fs=util.FileStream(f)
istream=util.wrap(fs, pythoncom.IID_IStream )
p=ie.Document._oleobj_.QueryInterface (pythoncom.IID_IPersistStreamInit)
Hi,
I am facing a problem with network paths which contain non-ascii
characters when trying to map them.
More precisely, the location contains Korean characters.
location = ur'\\baton1\TestStreams\shailesh\게댜ㅕㅔ걷;어니;ㅓ'
WNetAddConnection2 function expects string type as remoteName argument.
A
it works for me with this code
import win32security,pywintypes
try:
filo = win32security.GetFileSecurity(path,
win32security.OWNER_SECURITY_INFORMATION)
sid = filo.GetSecurityDescriptorOwner()
account, domain,
I've uninstalled and reinstalled Pythonwin and indeed after
installation the pyc is present and when Pythonwin runs the first time
it overrides it. I've saved the original intpyapp.pyc and when I use
it Pythonwin runs without a problem. I've compared the working pyc
with the non-working one and
OLE Viewer finds a second interface IS7ProSimEvents that is
made the default source makepy does not recognise
IS7ProSimEvents as an interface at all.
It would appear that makepy is excluding non-dual interfaces, and that the
integration with the 'universal' support for vtable interfaces
Since the number of comtypes users seems to be growing slowly,
I have created a comtypes mailing list.
The mailing list interface is here:
http://lists.sourceforge.net/lists/listinfo/comtypes-users
comtypes homepage:
http://cheeseshop.python.org/pypi/comtypes
Thomas
Hi,
I have two python services running on single machine. Each
service has performance object. The problem is, when I apply user to own
service and try to start a service.
A service that start first can be started successfully but for a subsequence
service, it cannot start because a