Guys,
Anyone aware of the symbolic links supported in XP as compared to NT/2K?
Cos there seems to be some major issues accessing these symbolic links from
services in XP created (and running under System account)
Try creating a service on XP with the call (the call fails):
CreateFile(lpFile, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ |
FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL)
where lpFile = “\\…\C:”
or lpFile = “\\…\C:\test1.txt”
or lpFile = “\\?\C:\test1.txt”
or lpFile = “\\DosDevices\C:”
Try the calls using these symbolic links on Win32 applications on XP and
they will work fine. I’ve tested it with these symlinks, and they work.
Accessing of symbolic links on NT/2K via services (running under System
account) or Win32 applications will both work.
Anyone has run into this before or work around it on XP platform???
Or is this a bug on XP for services???
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com