Opened 11 years ago
#13263 new defect
RTPathUserHome lookup fails when using API in a windows service
Reported by: | hakito | Owned by: | |
---|---|---|---|
Component: | host support | Version: | VirtualBox 4.3.14 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Windows |
Description
RTPathUserHome uses environment variables to determine the user home directory. When accessing the API from a windows service the lookup for the user home directory fails.
Probably a solution would be to use SHGetFolderPathW for the lookup.
http://stackoverflow.com/questions/9542611/how-to-get-the-current-users-home-directory-in-windows
Note:
See TracTickets
for help on using tickets.