[python-win32] win32file.CreateSymbolicLink and

2009-06-17 Thread Roger Upole
Devin Jeanpierre wrote: I'm new to pywin32 development, but wanted to toy with creating symlinks (and related new things) with a similar API to the current os module. The documentation in pywin32 states that the only flag is "SYMLINK_FLAG_DIRECTORY" (MSDN docs state that in the C++ API, the only

Re: [python-win32] win32file.CreateSymbolicLink and SYMLINK_FLAG_DIRECTORY

2009-06-16 Thread Tim Roberts
Devin Jeanpierre wrote: >> Hmm. Does the API return anything in those cases? >> > It returns None in all cases, so for now to cover that I check > GetLastError, and if it's non-zero (0 being ERROR_SUCCESS, meaning > there was no error-- another constant I don't know where to find), use > Form

Re: [python-win32] win32file.CreateSymbolicLink and SYMLINK_FLAG_DIRECTORY

2009-06-16 Thread Tim Roberts
Devin Jeanpierre wrote: > I'm new to pywin32 development, but wanted to toy with creating > symlinks (and related new things) with a similar API to the current os > module. The documentation in pywin32 states that the only flag is > "SYMLINK_FLAG_DIRECTORY" (MSDN docs state that in the C++ API, the

[python-win32] win32file.CreateSymbolicLink and SYMLINK_FLAG_DIRECTORY

2009-06-15 Thread Devin Jeanpierre
I'm new to pywin32 development, but wanted to toy with creating symlinks (and related new things) with a similar API to the current os module. The documentation in pywin32 states that the only flag is "SYMLINK_FLAG_DIRECTORY" (MSDN docs state that in the C++ API, the only flag is "SYMBOLIC_LINK_FLA