[python-win32] (no subject)

Schollnick, Benjamin Benjamin.Schollnick at xerox.com
Tue Jun 21 18:02:43 CEST 2005


Folks,
 
    I have run into a small problem, that I believe is a Win32net
issue...
 
    My application has been running (via py2exe) on XP systems without a
problem....  Just recently 
someone tried to use the application on a Windows 2000 system, and
received:
 
* The procedure entry point LsaLookupNames2 cound not be located in the
dyanmic link library ADVAPI32.dll.
 
    I quickly checked on Google, and found this:
 
http://groups-beta.google.com/group/comp.lang.python/browse_thread/threa
d/83a4f8d5b6dc1b7d/1248f29c226e865a?q=lsalookupnames2+advapi32.dll&rnum=
1&hl=en#1248f29c226e865a
<http://groups-beta.google.com/group/comp.lang.python/browse_thread/thre
ad/83a4f8d5b6dc1b7d/1248f29c226e865a?q=lsalookupnames2+advapi32.dll&rnum
=1&hl=en#1248f29c226e865a>  
 
This looks like the win32net Python extension requires the 
  LsaLookupNames2 function in ADVAPI32, but this is only available in 
  WinXP and Win2003 Server, according to MSDN, preventing to use
win32net 
  on win2k.  You should report this to Mark Hammond, and maybe use a
later 
  version of pywin32 for now.
 
 Has anyone else seen this problem?
 
I am running the latest pywin32 (204) for Python 2.4 that I have
found....
 
04/19/2005  09:00 AM         3,948,097 pywin32-204.win32-py2.4.exe
 
I may have more information later....  I have not yet been able to get
on to the
machine that is causing this problem...
 
But since it doesn't have Python loaded, it maybe difficult to isolate
the line, etc
that is causing this error....
 
I will have to see if Py2exe automatically captured the log...
 
        - Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20050621/6fa6592f/attachment.htm


More information about the Python-win32 mailing list