Hi
I tried the code as follows on my PC.
import os
import win32file
import win32con
path = C:\\test
FILE_LIST_DIRECTORY = 0x0001
BUFFER_SIZE = 2048
hDir = win32file.CreateFile (
path,
FILE_LIST_DIRECTORY,
win32con.FILE_SHARE_READ | win32con.FILE_SHARE_WRITE,
wangsuyi640 wrote:
Hi
I tried the code as follows on my PC.
...
my platform is Windows XP SP3, and the version of python is 2.6.6,
the version of pywin32 is pywin32-216.win32-py2.6.exe.
I have tried plenty of exmples on the Internet, by got almost the same
error: