Link to home
Start Free TrialLog in
Avatar of leowlf
leowlf

asked on

System Directory

How do i test if user is  running a shared version of Windows?

Sample codes is appreciated.
Avatar of leowlf
leowlf

ASKER

Edited text of question.
Avatar of leowlf

ASKER

Edited text of question.
Avatar of leowlf

ASKER

Edited text of question.
Can you please explain what is a "shared version of windows"?
Avatar of leowlf

ASKER

Hi shaig,

The following is extracted from VC on-line help for GetSystemDirectory( ).

"Applications should not create files in the system directory. If the user is running a shared version of Windows, the application does not have write access to the system directory...."

So what does that means?
just a guess - but i think this might mean that windows exists on a file server
and that the clients are network computers with minimal local storage

as for how to detect - havent got a clue.

maybe GetSystemDirectory would return a UNC path in this case and you could
check to see if the path starts with \\

regards,
mike.
What is your goal? What are you trying to accomplish?

ASKER CERTIFIED SOLUTION
Avatar of Tommy Hui
Tommy Hui

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial