> Does windows OS have a standard dialog box I can call from python that
> queries the username/password, and returns a token?
Not that I am aware of. It would be a bad idea anyway. A better idea would
be to use the Windows SSPI functions so that the client and server can use
NTLM or Kerberos to
Hi Mark,
Thanks for your reply. I changed the py2exe script as per your suggestion an
was able to generate the dll instead of exe.
I was also able to register it using regsvr32 command at command prompt.
Any idea , now how should start using the functionalities in this dll in a
VB/C# application?
I've seen several examples in C, Delphi and VB, but I still don't know
how to call "ISensLogon" in python :
win32com.client.Dispatch("ISens.Logon") doesn't work, I've tried many
other things with no more success.
Could you give me a short example on how to start with this ?
Tim Roberts a écrit
Hey all,
Can anyone tell me what the userName argument is used for when calling
win32com.client.Dispatch?
Thanks
-Matt
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
le dahut wrote:
> I've seen several examples in C, Delphi and VB, but I still don't know
> how to call "ISensLogon" in python :
> win32com.client.Dispatch("ISens.Logon") doesn't work, I've tried many
> other things with no more success.
You're still thinking about this backwards. You don't call
Many of the methods on
http://docs.python.org/lib/module-os.path.html
don't work on win. like samefile()
I found:
39 def samefile(path1, path2):
40 return getLongPathName(path1) == getLongPathName(path2)
41
42 def getLongPathName(path):
43 buf = ctypes.create_un