No it is not, it is a fresh installed XP, and the same problem occurs on
undreds of machines running XP and 2k. But I forgot to precise that once
the session is opened and the desktop is completely loaded, %TEMP%
points to the correct directory (C:\Doc Settings\user\...\temp).
This strange
Actually I that's the normal behavior. The TEMP environment variable is
loaded by your user profile, but %TEMP% points to %WINDIR%\TEMP by default
if it isn't set explicitly. You can test this by running 'runas /noprofile
/user:some_user cmd', %TEMP% will point to %WINDIR%\TEMP. Whatever
Hi,
Can anyone help me , what the problem ?
I am running this code in windows xp and outlook also installed in my
machine.
from win32com.client import Dispatch
s=Dispatch('Mapi.Session')
Traceback (most recent call last):
File stdin, line 1, in module
File
Thank you for this enlightenment. I've other question but I'll create
another topic to keep things clear.
Tim Johnson a écrit :
Actually I that's the normal behavior. The TEMP environment variable is
loaded by your user profile, but %TEMP% points to %WINDIR%\TEMP by default
if it isn't set
On Jan 8, 2008 11:20 AM, Antony Joseph [EMAIL PROTECTED] wrote:
Hi,
Can anyone help me , what the problem ?
I am running this code in windows xp and outlook also installed in my
machine.
from win32com.client import Dispatch
s=Dispatch('Mapi.Session ')
Traceback (most recent call last):
I am trying to create the obj in VB in the same manner, ie
Set Obj = CreateObject(sample.lib)
Strangely, the non exe version of the COM server works fine and I am able to
access the public functions in VB application.
Problem comes with the EXE version of the COM server, VB application jus
hangs
Hi All,
I have a Python COM server. I need to deploy it on various sytems. When I
run the COM server from
python its showing an output Registered : sample.lib
If I try to use the COM obj from a VB client like:
obj = CreateObject(sample.lib)
Its working fine without any errors
Now I am trying
Here is my sample COM server and py2exe setup file
*testCOM.py*
import win32com.client
import os.path
import shutil
from win32api import Sleep
import string
import os
import sys
import pythoncom
class FirstEx:
_reg_clsid_ = {A6DE9DF8-5EBF-48E6-889E-C71CB84CFF2C}
pythoncom.frozen = 1
After crawling this mailing list and googling for this I can't find how
to use it in python. I'm a COM object newbe, I've read some examples but
don't understand it really yet.
Does a guru have a magic answer ?
___
python-win32 mailing list
le dahut wrote:
After crawling this mailing list and googling for this I can't find how
to use it in python. I'm a COM object newbe, I've read some examples but
don't understand it really yet.
Does a guru have a magic answer ?
ISensLogon is not a COM object. Rather, it is an interface
Check the environment variables:
OS=Windows_NT
OSTYPE=cygwin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tennis Smith
Sent: Tuesday, January 08, 2008 1:08 PM
To: python-win32@python.org
Subject: [python-win32] ActiveState Python + Cygwin
Hi,
I have 2 questions concerning this combination.
1) Since ActiveState uses win32 path names and cygwin uses linux
path names, there are lots of occasions when files can't be found.
There are multiple ways (I understand) that this can be reconciled, but
what is considered the most
Hey all,
Is there a way to make impersonation follow threads? Given this simple
example:
import win32api
import win32security
import win32con
from threading import Thread
class Test(Thread):
def run(self):
print Username (in thread): , win32api.GetUserName()
print Username (before
Great! Thanks.
Now, how do you get ActiveState Python to work with the cygwin paths?
-T
From: Reedick, Andrew [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 12:30 PM
To: Tennis Smith; python-win32@python.org
Subject: RE: [python-win32] ActiveState Python + Cygwin Query
What exactly is the problem that you're seeing? Cygwin accepts
c:/some/where/file.xt, c:\\some\\where\\file.txt,
'c:\some\where\file.txt', /cygdrive/c/some/where/file.txt, and so on.
From: Tennis Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 4:24 PM
To: Reedick,
Matt Herbert (matherbe) wrote:
Is there a way to make impersonation follow threads?
What operating system are you running? On XP SP2 and later, a new
thread should inherit the impersonation token of the calling thread,
unless the caller passes a specific security descriptor into
Tennis Smith wrote:
Now, how do you get ActiveState Python to work with the cygwin paths?
What Andrew said:
What exactly is the problem that you’re seeing? Cygwin accepts
c:/some/where/file.xt, c:\\some\\where\\file.txt,
‘c:\some\where\file.txt’, /cygdrive/c/some/where/file.txt, and so
-Original Message-
Tim Roberts wrote:
Matt Herbert (matherbe) wrote:
Is there a way to make impersonation follow threads?
What operating system are you running? On XP SP2 and later, a new
thread should inherit the impersonation token of the calling thread,
unless the caller
Hi,
Not an answer to this thread but a related win32 authorization question?
Does windows OS have a standard dialog box I can call from python that
queries the username/password, and returns a token?
I'd like not to have to worry about other peoples plain text passwords
being in variables in
19 matches
Mail list logo