Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getwindowsdirectory
Message
From
31/08/2005 11:48:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01045523
Message ID:
01045529
Views:
38
>>This API function seems to work differently under VFP 9 than VFP 8 when using terminal server. Under VFP 8 the API function returns the terminal server user's windows directory. Under VFP 9 the system shared Windows directory is returned.
>>
>>I need to return the terminal server user's windows directory how can I do this using VFP 9?
>
>The API functions don't depend of VFP versions. They depends of Windows versions.

Boris,
It might not be the case. From "GetWindowsDirectory" remarks section:

"Terminal Services: If the application is running in a Terminal Services environment, each user has a unique Windows directory. If an application that is not Terminal-Services-aware calls this function, it retrieves the path of the Windows directory on the client, not the Windows directory on the server."

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform