I have implemented a COM in C++,buy i don't know how to use this COM
in IronPython.
For example: the COM's ProgID is "MyCOM1.AdvMethod".this COM have two
interfaces,the default interface's name is IAdvMethod,IAdvMethod have a method
which name is Add,the second interface's name is IBasicMethod.
I have implemented a COM in C++,buy i don't know how to use this COM
in python.
For example: the COM's ProgID is "MyCOM1.AdvMethod".this COM have two
interfaces,the default interface's name is IAdvMethod,IAdvMethod have a method
which name is Add,the second interface's name is IBasicMethod. IBa
I have implemented a COM in C++,buy i don't know how to use this COM
in python.
For example: the COM's ProgID is "MyCOM1.AdvMethod".this COM have two
interfaces,the default interface's name is IAdvMethod,the second
interface's name is IBasicMethod.
I use this method to call the IAdvMethod's met
kNish wrote:
I am using the following code to send mail from a open window
in maya application. This gives me following error. I think it says
that A2 is not created. What is a possible way to have this code send
a mail.
...
# Error: name 'A2' is not defined
# Traceback (most recent
_ _ wrote:
Sorry... but..., how can I enable SE_RESTORE_NAME privilege?... Is a
user property?
It's a privilege. Have a look here:
http://timgolden.me.uk/python-on-windows/programming-areas/security/privileges.html#id3
TJG
___
python-win32 mailing l
Sorry... but..., how can I enable SE_RESTORE_NAME privilege?... Is a user
property?
Thanks again.
2008/7/30 Tim Golden <[EMAIL PROTECTED]>
> Roger Upole wrote:
>
>> You need to enable SE_RESTORE_NAME privilege to set
>> the owner to an account other than your own.
>>
>
> Wow. It's amazing what y
That seems like a roundabout way to send an email.
def sendEmail(toe, frome, subject, body):
import smtplib
headers = "From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n" % (frome, toe,
subject)
message = headers + body
mailsvr = "MyMailServer"
mailServer = smtplib.SMTP(mailsvr)
m
Hi,
I am using the following code to send mail from a open window in
maya application. This gives me following error. I think it says that A2 is
not created. What is a possible way to have this code send a mail.
BRgds,
kNish
# Error: name 'A2' is not defined
# Traceback (most recent ca
Roger Upole wrote:
You need to enable SE_RESTORE_NAME privilege to set
the owner to an account other than your own.
Wow. It's amazing what you can bypass when
you need to: presumably that's for use by
backup/restore mechanisms which need to recreate
the original security settings?
Thanks as ev