Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DriveType/GetDriveType Vista issue
Message
From
19/06/2008 09:47:33
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01325108
Message ID:
01325412
Views:
12
Hi Sergey!
Using GetDriveType API directly, always return 1 for network mapped drives in Windows Vista (only running exe as an administrator).
This morning we start to test this more accuratelly and found that directory doesn't work as I described in another message.
Directory is returning False.
So, my workaround isn't working and all solutions in your site also not works.

[UPDATE]
1. Everything works as expected at design time. The problem occurs only at runtime.
2. We tried to do the same in C# and Delphi and the problem occurs in both.
3. If we disable Vista UAC everything works as expected.

Please, take a look at this blog entries...
http://blogs.msdn.com/cjacks/archive/2007/02/19/mapped-network-drives-with-uac-on-windows-vista.aspx
http://support.microsoft.com/?scid=kb%3Ben-us%3B937624&x=17&y=14
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Previous
Reply
Map
View

Click here to load this message in the networking platform